Class SystemStatus
- All Implemented Interfaces:
Serializable
,Cloneable
Represents CPU utilization and load average information for applications running in the specified environment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Load average in the last 1-minute and 5-minute periods.int
hashCode()
void
setCPUUtilization
(CPUUtilization cPUUtilization) void
setLoadAverage
(Collection<Double> loadAverage) Load average in the last 1-minute and 5-minute periods.toString()
Returns a string representation of this object; useful for testing and debugging.withCPUUtilization
(CPUUtilization cPUUtilization) withLoadAverage
(Double... loadAverage) Load average in the last 1-minute and 5-minute periods.withLoadAverage
(Collection<Double> loadAverage) Load average in the last 1-minute and 5-minute periods.
-
Constructor Details
-
SystemStatus
public SystemStatus()
-
-
Method Details
-
setCPUUtilization
- Parameters:
cPUUtilization
-
-
getCPUUtilization
- Returns:
-
withCPUUtilization
- Parameters:
cPUUtilization
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLoadAverage
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Returns:
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
-
setLoadAverage
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
-
withLoadAverage
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
NOTE: This method appends the values to the existing list (if any). Use
setLoadAverage(java.util.Collection)
orwithLoadAverage(java.util.Collection)
if you want to override the existing values.- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadAverage
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-