public class JVMStatistics extends Object implements Externalizable
Constructor and Description |
---|
JVMStatistics() |
JVMStatistics(long timestamp,
long uptime,
long memoryHeapCommitted,
long memoryHeapUsed,
long memoryNonHeapCommitted,
long memoryNonHeapUsed,
int threadCount,
int peakThreadCount,
long gcCollectionCount,
long gcCollectionTime,
double cpuPerc,
long cpuTotal,
long cpuTime) |
Modifier and Type | Method and Description |
---|---|
double |
computeCpuPerc(JVMStatistics lastJVMStatistics) |
long |
getGcCollectionCount() |
long |
getGcCollectionTime() |
long |
getMemoryHeapCommitted() |
long |
getMemoryHeapUsed() |
long |
getMemoryNonHeapCommitted() |
long |
getMemoryNonHeapUsed() |
int |
getPeakThreadCount() |
int |
getThreadCount() |
long |
getTimestamp() |
long |
getUptime() |
boolean |
isNA() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public JVMStatistics()
public JVMStatistics(long timestamp, long uptime, long memoryHeapCommitted, long memoryHeapUsed, long memoryNonHeapCommitted, long memoryNonHeapUsed, int threadCount, int peakThreadCount, long gcCollectionCount, long gcCollectionTime, double cpuPerc, long cpuTotal, long cpuTime)
public boolean isNA()
public long getTimestamp()
public long getUptime()
public long getMemoryHeapCommitted()
public long getMemoryHeapUsed()
public long getMemoryNonHeapCommitted()
public long getMemoryNonHeapUsed()
public int getThreadCount()
public int getPeakThreadCount()
public long getGcCollectionCount()
public long getGcCollectionTime()
public double computeCpuPerc(JVMStatistics lastJVMStatistics)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.