public class OperatingSystemMXBeanFacade
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Object |
bean |
protected static java.util.Map<java.lang.String,java.lang.reflect.Method> |
methods |
Constructor and Description |
---|
OperatingSystemMXBeanFacade() |
Modifier and Type | Method and Description |
---|---|
static long |
getCommittedVirtualMemorySize() |
static long |
getFreePhysicalMemorySize() |
static long |
getFreeSwapSpaceSize() |
double |
getProcessCpuLoad() |
static long |
getProcessCpuTime() |
static double |
getSystemCpuLoad() |
static long |
getTotalPhysicalMemorySize() |
static long |
getTotalSwapSpaceSize() |
protected static java.lang.Object |
invokeMethod(java.lang.String name)
Invoke a method.
|
protected static java.lang.Object bean
protected static java.util.Map<java.lang.String,java.lang.reflect.Method> methods
public static long getCommittedVirtualMemorySize()
public static long getTotalSwapSpaceSize()
public static long getFreeSwapSpaceSize()
public static long getProcessCpuTime()
public static long getFreePhysicalMemorySize()
public static long getTotalPhysicalMemorySize()
public static double getSystemCpuLoad()
public double getProcessCpuLoad()
protected static java.lang.Object invokeMethod(java.lang.String name)