com.hazelcast.monitor.impl
Class LocalTopicStatsImpl

java.lang.Object
  extended by com.hazelcast.monitor.impl.LocalTopicStatsImpl
All Implemented Interfaces:
JsonSerializable, LocalInstanceStats, LocalTopicStats

public class LocalTopicStatsImpl
extends Object
implements LocalTopicStats


Field Summary
 
Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats
STAT_NOT_AVAILABLE
 
Constructor Summary
LocalTopicStatsImpl()
           
 
Method Summary
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 long getCreationTime()
          Returns the creation time of this topic on this member
 long getPublishOperationCount()
          Returns the total number of published messages of this topic on this member
 long getReceiveOperationCount()
          Returns the total number of received messages of this topic on this member
 void incrementPublishes()
           
 void incrementReceives()
           
 com.eclipsesource.json.JsonObject toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTopicStatsImpl

public LocalTopicStatsImpl()
Method Detail

getCreationTime

public long getCreationTime()
Description copied from interface: LocalTopicStats
Returns the creation time of this topic on this member

Specified by:
getCreationTime in interface LocalInstanceStats
Specified by:
getCreationTime in interface LocalTopicStats
Returns:
creation time of this topic on this member

toJson

public com.eclipsesource.json.JsonObject toJson()
Specified by:
toJson in interface JsonSerializable

fromJson

public void fromJson(com.eclipsesource.json.JsonObject json)
Specified by:
fromJson in interface JsonSerializable

getPublishOperationCount

public long getPublishOperationCount()
Description copied from interface: LocalTopicStats
Returns the total number of published messages of this topic on this member

Specified by:
getPublishOperationCount in interface LocalTopicStats
Returns:
total number of publishes

incrementPublishes

public void incrementPublishes()

getReceiveOperationCount

public long getReceiveOperationCount()
Description copied from interface: LocalTopicStats
Returns the total number of received messages of this topic on this member

Specified by:
getReceiveOperationCount in interface LocalTopicStats
Returns:
total number of receives

incrementReceives

public void incrementReceives()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.