public class LocalFlakeIdGeneratorStatsImpl extends Object implements LocalFlakeIdGeneratorStats
STAT_NOT_AVAILABLE
Constructor and Description |
---|
LocalFlakeIdGeneratorStatsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
long |
getCreationTime()
Returns the creation time of this distributed object instance on this member.
|
long |
getUsageCount() |
void |
incrementUsage() |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
public long getCreationTime()
LocalInstanceStats
getCreationTime
in interface LocalInstanceStats
public long getUsageCount()
getUsageCount
in interface LocalFlakeIdGeneratorStats
LocalInstanceStats.getCreationTime()
.public void incrementUsage()
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.