public static class SystemInfo.GCInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
GCInfo(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
long |
getGCCount()
Returns the total number of collections that have occurred since the JVM started.
|
long |
getGCCountDelta()
Returns the number of collections that have occurred since the previous Snapshot.
|
long |
getGCTimeMS()
Returns the approximate accumulated collection elapsed time in milliseconds since the JVM started.
|
long |
getGCTimeMSDelta()
Returns the approximate collection time in milliseconds for this cycle.
|
java.lang.String |
getName()
Get the JVM name for the garbage collector
|
public java.lang.String getName()
public long getGCCount()
public long getGCCountDelta()
public long getGCTimeMS()
public long getGCTimeMSDelta()
public java.lang.Object clone()
clone
in class java.lang.Object