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 | 
getBatchCount()
The average batch size can be calculated by dividing  
LocalFlakeIdGeneratorStats.getIdCount() by
 LocalFlakeIdGeneratorStats.getBatchCount(). | 
long | 
getCreationTime()
Returns the creation time of this distributed object instance on this member. 
 | 
long | 
getIdCount()
Note that the ID count returned is the number of generated IDs not the number
 of consumed IDs. 
 | 
com.eclipsesource.json.JsonObject | 
toJson()  | 
String | 
toString()  | 
void | 
update(int batchSize)  | 
public long getCreationTime()
LocalInstanceStatsgetCreationTime in interface LocalInstanceStatspublic long getBatchCount()
LocalFlakeIdGeneratorStatsLocalFlakeIdGeneratorStats.getIdCount() by
 LocalFlakeIdGeneratorStats.getBatchCount().getBatchCount in interface LocalFlakeIdGeneratorStatsLocalInstanceStats.getCreationTime().public long getIdCount()
LocalFlakeIdGeneratorStatsgetIdCount in interface LocalFlakeIdGeneratorStatsLocalInstanceStats.getCreationTime().public void update(int batchSize)
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.