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