com.hazelcast.util
Class OperatingSystemMXBeanSupport
java.lang.Object
com.hazelcast.util.OperatingSystemMXBeanSupport
public final class OperatingSystemMXBeanSupport
- extends Object
Support class for reading attributes from OperatingSystemMXBean.
Method Summary |
static long |
readLongAttribute(String attributeName,
long defaultValue)
Reads a long attribute from OperatingSystemMXBean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readLongAttribute
public static long readLongAttribute(String attributeName,
long defaultValue)
- Reads a long attribute from OperatingSystemMXBean.
- Parameters:
attributeName
- namedefaultValue
- default value
- Returns:
- value of attribute
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.