com.hazelcast.impl.monitor
Class LocalTopicOperationStatsImpl
java.lang.Object
com.hazelcast.impl.monitor.LocalTopicOperationStatsImpl
- All Implemented Interfaces:
- LocalInstanceOperationStats, LocalTopicOperationStats, DataSerializable, Serializable
public class LocalTopicOperationStatsImpl
- extends Object
- implements LocalTopicOperationStats
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalTopicOperationStatsImpl
public LocalTopicOperationStatsImpl()
getNumberOfPublishes
public long getNumberOfPublishes()
- Description copied from interface:
LocalTopicOperationStats
- Returns the number of publish operations.
- Specified by:
getNumberOfPublishes
in interface LocalTopicOperationStats
- Returns:
- number of publish operations
getNumberOfReceivedMessages
public long getNumberOfReceivedMessages()
- Description copied from interface:
LocalTopicOperationStats
- Returns the number of received messages
- Specified by:
getNumberOfReceivedMessages
in interface LocalTopicOperationStats
- Returns:
- number of received messages .
getPeriodStart
public final long getPeriodStart()
- Description copied from interface:
LocalInstanceOperationStats
- Gets the start time of the period in milliseconds.
- Specified by:
getPeriodStart
in interface LocalInstanceOperationStats
- Returns:
- start time in milliseconds.
getPeriodEnd
public final long getPeriodEnd()
- Description copied from interface:
LocalInstanceOperationStats
- Gets the end time of the period in milliseconds.
- Specified by:
getPeriodEnd
in interface LocalInstanceOperationStats
- Returns:
- end time in milliseconds.
writeData
public final void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public final void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.