com.hazelcast.impl.monitor
Class LocalTopicOperationStatsImpl

java.lang.Object
  extended by com.hazelcast.impl.monitor.LocalTopicOperationStatsImpl
All Implemented Interfaces:
LocalInstanceOperationStats, LocalTopicOperationStats, DataSerializable, Serializable

public class LocalTopicOperationStatsImpl
extends Object
implements LocalTopicOperationStats

See Also:
Serialized Form

Constructor Summary
LocalTopicOperationStatsImpl()
           
 
Method Summary
 long getNumberOfPublishes()
          Returns the number of publish operations.
 long getNumberOfReceivedMessages()
          Returns the number of received messages
 long getPeriodEnd()
          Gets the end time of the period in milliseconds.
 long getPeriodStart()
          Gets the start time of the period in milliseconds.
 void readData(DataInput in)
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.monitor.LocalInstanceOperationStats
getPeriodEnd, getPeriodStart
 
Methods inherited from interface com.hazelcast.nio.DataSerializable
readData, writeData
 

Constructor Detail

LocalTopicOperationStatsImpl

public LocalTopicOperationStatsImpl()
Method Detail

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.