public class OSStatistics extends Object implements SmartExternalizable
Modifier and Type | Class and Description |
---|---|
static class |
OSStatistics.OSNetInterfaceStats |
Constructor and Description |
---|
OSStatistics() |
OSStatistics(long timestamp,
long freeSwapSpaceSize,
long freePhysicalMemorySize) |
OSStatistics(long timestamp,
long freeSwapSpaceSize,
long freePhysicalMemorySize,
long actualFreePhysicalMemorySize,
double cpuPerc,
long actualMemoryUsed,
double usedMemoryPerc,
OSStatistics.OSNetInterfaceStats[] netStats) |
Modifier and Type | Method and Description |
---|---|
long |
getActualFreePhysicalMemorySize() |
long |
getActualMemoryUsed() |
double |
getCpuPerc() |
long |
getFreePhysicalMemorySize() |
long |
getFreeSwapSpaceSize() |
OSStatistics.OSNetInterfaceStats[] |
getNetStats() |
long |
getTimestamp() |
double |
getUsedMemoryPerc() |
boolean |
isNA() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public OSStatistics()
public OSStatistics(long timestamp, long freeSwapSpaceSize, long freePhysicalMemorySize)
public OSStatistics(long timestamp, long freeSwapSpaceSize, long freePhysicalMemorySize, long actualFreePhysicalMemorySize, double cpuPerc, long actualMemoryUsed, double usedMemoryPerc, OSStatistics.OSNetInterfaceStats[] netStats)
public long getActualMemoryUsed()
public double getUsedMemoryPerc()
public boolean isNA()
public long getTimestamp()
public long getFreeSwapSpaceSize()
public long getFreePhysicalMemorySize()
public long getActualFreePhysicalMemorySize()
public double getCpuPerc()
public OSStatistics.OSNetInterfaceStats[] getNetStats()
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.