-
public interface CpuLoadCalculationConstants
Constants used byOperatingSystemMXBean.getProcessCpuLoad()
andOperatingSystemMXBean.getSystemCpuLoad()
methods.- Since:
- 1.7.1
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_VALUE
Indicates transient error in the port library call.static int
INSUFFICIENT_PRIVILEGE
Indicates this function not supported due to insufficient user privilege.static int
INTERNAL_ERROR
Indicates unexpected internal error.static long
MINIMUM_INTERVAL
The minimum time between successive calls required to obtain a valid CPU load measurement. 10 ms in nanoseconds.static int
UNSUPPORTED_VALUE
Indicates this function is not supported at all on this platform.
-
-
-
Field Detail
-
ERROR_VALUE
static final int ERROR_VALUE
Indicates transient error in the port library call.- See Also:
- Constant Field Values
-
INSUFFICIENT_PRIVILEGE
static final int INSUFFICIENT_PRIVILEGE
Indicates this function not supported due to insufficient user privilege.- See Also:
- Constant Field Values
-
UNSUPPORTED_VALUE
static final int UNSUPPORTED_VALUE
Indicates this function is not supported at all on this platform.- See Also:
- Constant Field Values
-
INTERNAL_ERROR
static final int INTERNAL_ERROR
Indicates unexpected internal error.- See Also:
- Constant Field Values
-
MINIMUM_INTERVAL
static final long MINIMUM_INTERVAL
The minimum time between successive calls required to obtain a valid CPU load measurement. 10 ms in nanoseconds.- See Also:
- Constant Field Values
-
-