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(JsonObject json) |
long |
getCreationTime()
Returns the creation time of this distributed object instance on this member.
|
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) |
JsonObject |
toJson() |
String |
toString() |
public LocalGCStatsImpl()
public LocalGCStatsImpl(GarbageCollectorStats gcStats)
public long getMajorCollectionCount()
GarbageCollectorStats
getMajorCollectionCount
in interface GarbageCollectorStats
GarbageCollectorStats.getUnknownCollectionCount()
public long getMajorCollectionTime()
GarbageCollectorStats
getMajorCollectionTime
in interface GarbageCollectorStats
GarbageCollectorStats.getUnknownCollectionTime()
public long getMinorCollectionCount()
GarbageCollectorStats
getMinorCollectionCount
in interface GarbageCollectorStats
GarbageCollectorStats.getUnknownCollectionCount()
public long getMinorCollectionTime()
GarbageCollectorStats
getMinorCollectionTime
in interface GarbageCollectorStats
GarbageCollectorStats.getUnknownCollectionTime()
public long getUnknownCollectionCount()
GarbageCollectorStats
getUnknownCollectionCount
in interface GarbageCollectorStats
public long getUnknownCollectionTime()
GarbageCollectorStats
getUnknownCollectionTime
in interface GarbageCollectorStats
public 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()
LocalInstanceStats
getCreationTime
in interface LocalInstanceStats
public JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.