public static class SystemInfo.GCInfo extends Object implements Cloneable
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getName()
Get the JVM name for the garbage collector
|
public GCInfo(String name)
public String getName()
public long getGCCount()
public long getGCCountDelta()
public long getGCTimeMS()
public long getGCTimeMSDelta()