Class CPUUtilization
- All Implemented Interfaces:
Serializable
,Cloneable
Represents CPU utilization information from the specified instance that
belongs to the AWS Elastic Beanstalk environment. Use the
instanceId
property to specify the application instance for
which you'd like to return data.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getIdle()
Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.getIRQ()
Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.getNice()
Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.getUser()
Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.int
hashCode()
void
Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.void
Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.void
Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.void
Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.void
setSoftIRQ
(Double softIRQ) Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.void
Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.void
Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.toString()
Returns a string representation of this object; useful for testing and debugging.Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.withIOWait
(Double iOWait) Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.withSoftIRQ
(Double softIRQ) Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.withSystem
(Double system) Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.
-
Constructor Details
-
CPUUtilization
public CPUUtilization()
-
-
Method Details
-
setUser
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Parameters:
user
- Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.
-
getUser
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.
-
withUser
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Parameters:
user
- Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNice
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Parameters:
nice
- Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.
-
getNice
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.
-
withNice
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Parameters:
nice
- Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSystem
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Parameters:
system
- Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.
-
getSystem
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.
-
withSystem
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Parameters:
system
- Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdle
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Parameters:
idle
- Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.
-
getIdle
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.
-
withIdle
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Parameters:
idle
- Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIOWait
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Parameters:
iOWait
- Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.
-
getIOWait
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.
-
withIOWait
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Parameters:
iOWait
- Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIRQ
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Parameters:
iRQ
- Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.
-
getIRQ
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.
-
withIRQ
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Parameters:
iRQ
- Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSoftIRQ
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Parameters:
softIRQ
- Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.
-
getSoftIRQ
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.
-
withSoftIRQ
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Parameters:
softIRQ
- Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.- 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
-