public class ResourceStatistics extends Object
Constructor and Description |
---|
ResourceStatistics() |
Modifier and Type | Method and Description |
---|---|
double |
avgCPUPercentage()
Get the avgCPUPercentage value.
|
double |
avgDiskGiB()
Get the avgDiskGiB value.
|
double |
avgMemoryGiB()
Get the avgMemoryGiB value.
|
double |
diskReadGiB()
Get the diskReadGiB value.
|
long |
diskReadIOps()
Get the diskReadIOps value.
|
double |
diskWriteGiB()
Get the diskWriteGiB value.
|
long |
diskWriteIOps()
Get the diskWriteIOps value.
|
org.joda.time.DateTime |
lastUpdateTime()
Get the lastUpdateTime value.
|
double |
networkReadGiB()
Get the networkReadGiB value.
|
double |
networkWriteGiB()
Get the networkWriteGiB value.
|
double |
peakDiskGiB()
Get the peakDiskGiB value.
|
double |
peakMemoryGiB()
Get the peakMemoryGiB value.
|
org.joda.time.DateTime |
startTime()
Get the startTime value.
|
ResourceStatistics |
withAvgCPUPercentage(double avgCPUPercentage)
Set the avgCPUPercentage value.
|
ResourceStatistics |
withAvgDiskGiB(double avgDiskGiB)
Set the avgDiskGiB value.
|
ResourceStatistics |
withAvgMemoryGiB(double avgMemoryGiB)
Set the avgMemoryGiB value.
|
ResourceStatistics |
withDiskReadGiB(double diskReadGiB)
Set the diskReadGiB value.
|
ResourceStatistics |
withDiskReadIOps(long diskReadIOps)
Set the diskReadIOps value.
|
ResourceStatistics |
withDiskWriteGiB(double diskWriteGiB)
Set the diskWriteGiB value.
|
ResourceStatistics |
withDiskWriteIOps(long diskWriteIOps)
Set the diskWriteIOps value.
|
ResourceStatistics |
withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
Set the lastUpdateTime value.
|
ResourceStatistics |
withNetworkReadGiB(double networkReadGiB)
Set the networkReadGiB value.
|
ResourceStatistics |
withNetworkWriteGiB(double networkWriteGiB)
Set the networkWriteGiB value.
|
ResourceStatistics |
withPeakDiskGiB(double peakDiskGiB)
Set the peakDiskGiB value.
|
ResourceStatistics |
withPeakMemoryGiB(double peakMemoryGiB)
Set the peakMemoryGiB value.
|
ResourceStatistics |
withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.
|
public org.joda.time.DateTime startTime()
public ResourceStatistics withStartTime(org.joda.time.DateTime startTime)
startTime
- the startTime value to setpublic org.joda.time.DateTime lastUpdateTime()
public ResourceStatistics withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
lastUpdateTime
- the lastUpdateTime value to setpublic double avgCPUPercentage()
public ResourceStatistics withAvgCPUPercentage(double avgCPUPercentage)
avgCPUPercentage
- the avgCPUPercentage value to setpublic double avgMemoryGiB()
public ResourceStatistics withAvgMemoryGiB(double avgMemoryGiB)
avgMemoryGiB
- the avgMemoryGiB value to setpublic double peakMemoryGiB()
public ResourceStatistics withPeakMemoryGiB(double peakMemoryGiB)
peakMemoryGiB
- the peakMemoryGiB value to setpublic double avgDiskGiB()
public ResourceStatistics withAvgDiskGiB(double avgDiskGiB)
avgDiskGiB
- the avgDiskGiB value to setpublic double peakDiskGiB()
public ResourceStatistics withPeakDiskGiB(double peakDiskGiB)
peakDiskGiB
- the peakDiskGiB value to setpublic long diskReadIOps()
public ResourceStatistics withDiskReadIOps(long diskReadIOps)
diskReadIOps
- the diskReadIOps value to setpublic long diskWriteIOps()
public ResourceStatistics withDiskWriteIOps(long diskWriteIOps)
diskWriteIOps
- the diskWriteIOps value to setpublic double diskReadGiB()
public ResourceStatistics withDiskReadGiB(double diskReadGiB)
diskReadGiB
- the diskReadGiB value to setpublic double diskWriteGiB()
public ResourceStatistics withDiskWriteGiB(double diskWriteGiB)
diskWriteGiB
- the diskWriteGiB value to setpublic double networkReadGiB()
public ResourceStatistics withNetworkReadGiB(double networkReadGiB)
networkReadGiB
- the networkReadGiB value to setpublic double networkWriteGiB()
public ResourceStatistics withNetworkWriteGiB(double networkWriteGiB)
networkWriteGiB
- the networkWriteGiB value to setCopyright © 2019. All rights reserved.