public class LocalGCStatsImpl extends Object implements LocalGCStats
STAT_NOT_AVAILABLE| Constructor and Description |
|---|
LocalGCStatsImpl() |
LocalGCStatsImpl(GarbageCollectorStats gcStats) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
long |
getCreationTime() |
long |
getMajorCollectionCount()
Returns major collection count.
|
long |
getMajorCollectionTime()
Returns total major collection time in ms.
|
long |
getMinorCollectionCount()
Returns minor collection count.
|
long |
getMinorCollectionTime()
Returns total minor collection time in ms.
|
long |
getUnknownCollectionCount()
Returns collection count which cannot be identified as major or minor.
|
long |
getUnknownCollectionTime()
Returns total collection time which cannot be identified as major or minor.
|
void |
setMajorCount(long majorCount) |
void |
setMajorTime(long majorTime) |
void |
setMinorCount(long minorCount) |
void |
setMinorTime(long minorTime) |
void |
setUnknownCount(long unknownCount) |
void |
setUnknownTime(long unknownTime) |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
public LocalGCStatsImpl()
public LocalGCStatsImpl(GarbageCollectorStats gcStats)
public long getMajorCollectionCount()
GarbageCollectorStatsgetMajorCollectionCount in interface GarbageCollectorStatsGarbageCollectorStats.getUnknownCollectionCount()public long getMajorCollectionTime()
GarbageCollectorStatsgetMajorCollectionTime in interface GarbageCollectorStatsGarbageCollectorStats.getUnknownCollectionTime()public long getMinorCollectionCount()
GarbageCollectorStatsgetMinorCollectionCount in interface GarbageCollectorStatsGarbageCollectorStats.getUnknownCollectionCount()public long getMinorCollectionTime()
GarbageCollectorStatsgetMinorCollectionTime in interface GarbageCollectorStatsGarbageCollectorStats.getUnknownCollectionTime()public long getUnknownCollectionCount()
GarbageCollectorStatsgetUnknownCollectionCount in interface GarbageCollectorStatspublic long getUnknownCollectionTime()
GarbageCollectorStatsgetUnknownCollectionTime in interface GarbageCollectorStatspublic void setMinorCount(long minorCount)
public void setMinorTime(long minorTime)
public void setMajorCount(long majorCount)
public void setMajorTime(long majorTime)
public void setUnknownCount(long unknownCount)
public void setUnknownTime(long unknownTime)
public long getCreationTime()
getCreationTime in interface LocalInstanceStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.