com.hazelcast.monitor.impl
Class LocalTopicStatsImpl
java.lang.Object
com.hazelcast.monitor.impl.LocalTopicStatsImpl
- All Implemented Interfaces:
- JsonSerializable, LocalInstanceStats, LocalTopicStats
public class LocalTopicStatsImpl
- extends Object
- implements LocalTopicStats
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalTopicStatsImpl
public LocalTopicStatsImpl()
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.