public class LocalTopicStatsImpl extends Object implements LocalTopicStats
STAT_NOT_AVAILABLE
Constructor and Description |
---|
LocalTopicStatsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(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()
Increment the number of locally published messages.
|
void |
incrementReceives()
Increment the number of locally received messages.
|
JsonObject |
toJson() |
String |
toString() |
public long getCreationTime()
LocalTopicStats
getCreationTime
in interface LocalInstanceStats
getCreationTime
in interface LocalTopicStats
public long getPublishOperationCount()
LocalTopicStats
getPublishOperationCount
in interface LocalTopicStats
public void incrementPublishes()
TopicService
,
ReliableTopicService
public long getReceiveOperationCount()
LocalTopicStats
getReceiveOperationCount
in interface LocalTopicStats
public void incrementReceives()
TopicService
,
ReliableMessageRunner
public JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.