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()
LocalInstanceStatsgetCreationTime in interface LocalInstanceStatspublic long getUsageCount()
getUsageCount in interface LocalFlakeIdGeneratorStatsLocalInstanceStats.getCreationTime().public void incrementUsage()
public com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.