public class LocalTopicStatsImpl extends Object implements LocalTopicStats
STAT_NOT_AVAILABLE| Constructor and Description |
|---|
LocalTopicStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public long getCreationTime()
LocalTopicStatsgetCreationTime in interface LocalInstanceStatsgetCreationTime in interface LocalTopicStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializablepublic long getPublishOperationCount()
LocalTopicStatsgetPublishOperationCount in interface LocalTopicStatspublic void incrementPublishes()
public long getReceiveOperationCount()
LocalTopicStatsgetReceiveOperationCount in interface LocalTopicStatspublic void incrementReceives()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.