public class LocalTopicStatsImpl extends Object implements LocalTopicStats
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() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
com.eclipsesource.json.JsonObject |
toJson() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public long getCreationTime()
LocalTopicStats
getCreationTime
in interface LocalInstanceStats
getCreationTime
in interface LocalTopicStats
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public long getPublishOperationCount()
LocalTopicStats
getPublishOperationCount
in interface LocalTopicStats
public void incrementPublishes()
public long getReceiveOperationCount()
LocalTopicStats
getReceiveOperationCount
in interface LocalTopicStats
public void incrementReceives()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.