-
public interface CpuLoadCalculationConstantsConstants used byOperatingSystemMXBean.getProcessCpuLoad()andOperatingSystemMXBean.getSystemCpuLoad()methods.- Since:
- 1.7.1
-
-
Field Summary
Fields Modifier and Type Field Description static intERROR_VALUEIndicates transient error in the port library call.static intINSUFFICIENT_PRIVILEGEIndicates this function not supported due to insufficient user privilege.static intINTERNAL_ERRORIndicates unexpected internal error.static longMINIMUM_INTERVALThe minimum time between successive calls required to obtain a valid CPU load measurement. 10 ms in nanoseconds.static intUNSUPPORTED_VALUEIndicates 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
-
-