com.hazelcast.monitor.impl
public class LocalGCStatsImpl extends Object implements LocalGCStats
STAT_NOT_AVAILABLE
Constructor and Description |
---|
LocalGCStatsImpl() |
LocalGCStatsImpl(GarbageCollectorStats gcStats) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
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()
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()
getCreationTime
in interface LocalInstanceStats
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.