public final class OperatingSystemMXBeanSupport extends Object
Modifier and Type | Method and Description |
---|---|
static double |
getSystemLoadAverage()
Reads the system load average attribute from OperatingSystemMXBean.
|
static long |
readLongAttribute(String attributeName,
long defaultValue)
Reads a long attribute from OperatingSystemMXBean.
|
public static long readLongAttribute(String attributeName, long defaultValue)
attributeName
- name of the attributedefaultValue
- default value if the attribute value is nullpublic static double getSystemLoadAverage()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.