public class ClusterStats
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ClusterStats.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ClusterStats() |
ClusterStats(java.lang.Double clusterUtilization,
java.lang.Long clientQueueDepth,
java.lang.Long normalizedIOPS,
java.lang.Long readBytes,
java.lang.Long readLatencyUSecTotal,
java.lang.Long readOps,
java.lang.Long servicesCount,
java.lang.Long servicesTotal,
java.lang.String timestamp,
java.lang.Long writeBytes,
java.lang.Long writeLatencyUSecTotal,
java.lang.Long writeOps,
Optional<java.lang.Long> actualIOPS,
Optional<java.lang.Long> averageIOPSize,
Optional<java.lang.Long> latencyUSec,
Optional<java.lang.Long> readBytesLastSample,
Optional<java.lang.Long> readLatencyUSec,
Optional<java.lang.Long> readOpsLastSample,
Optional<java.lang.Long> samplePeriodMsec,
Optional<java.lang.Long> unalignedReads,
Optional<java.lang.Long> unalignedWrites,
Optional<java.lang.Long> writeBytesLastSample,
Optional<java.lang.Long> writeLatencyUSec,
Optional<java.lang.Long> writeOpsLastSample) |
Modifier and Type | Method and Description |
---|---|
ClusterStats.Builder |
asBuilder() |
static ClusterStats.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Long> |
getActualIOPS() |
Optional<java.lang.Long> |
getAverageIOPSize() |
java.lang.Long |
getClientQueueDepth() |
java.lang.Double |
getClusterUtilization()
The amount of cluster capacity being utilized.
|
Optional<java.lang.Long> |
getLatencyUSec() |
java.lang.Long |
getNormalizedIOPS() |
java.lang.Long |
getReadBytes()
Total bytes read by clients.
|
Optional<java.lang.Long> |
getReadBytesLastSample() |
Optional<java.lang.Long> |
getReadLatencyUSec() |
java.lang.Long |
getReadLatencyUSecTotal() |
java.lang.Long |
getReadOps()
Total read operations.
|
Optional<java.lang.Long> |
getReadOpsLastSample() |
Optional<java.lang.Long> |
getSamplePeriodMsec() |
java.lang.Long |
getServicesCount()
Services count
|
java.lang.Long |
getServicesTotal()
Total services.
|
java.lang.String |
getTimestamp()
Current time in UTC format.
|
Optional<java.lang.Long> |
getUnalignedReads() |
Optional<java.lang.Long> |
getUnalignedWrites() |
java.lang.Long |
getWriteBytes()
Total bytes written by clients.
|
Optional<java.lang.Long> |
getWriteBytesLastSample() |
Optional<java.lang.Long> |
getWriteLatencyUSec() |
java.lang.Long |
getWriteLatencyUSecTotal() |
java.lang.Long |
getWriteOps()
Total write operations.
|
Optional<java.lang.Long> |
getWriteOpsLastSample() |
int |
hashCode() |
void |
setActualIOPS(Optional<java.lang.Long> actualIOPS) |
void |
setAverageIOPSize(Optional<java.lang.Long> averageIOPSize) |
void |
setClientQueueDepth(java.lang.Long clientQueueDepth) |
void |
setClusterUtilization(java.lang.Double clusterUtilization) |
void |
setLatencyUSec(Optional<java.lang.Long> latencyUSec) |
void |
setNormalizedIOPS(java.lang.Long normalizedIOPS) |
void |
setReadBytes(java.lang.Long readBytes) |
void |
setReadBytesLastSample(Optional<java.lang.Long> readBytesLastSample) |
void |
setReadLatencyUSec(Optional<java.lang.Long> readLatencyUSec) |
void |
setReadLatencyUSecTotal(java.lang.Long readLatencyUSecTotal) |
void |
setReadOps(java.lang.Long readOps) |
void |
setReadOpsLastSample(Optional<java.lang.Long> readOpsLastSample) |
void |
setSamplePeriodMsec(Optional<java.lang.Long> samplePeriodMsec) |
void |
setServicesCount(java.lang.Long servicesCount) |
void |
setServicesTotal(java.lang.Long servicesTotal) |
void |
setTimestamp(java.lang.String timestamp) |
void |
setUnalignedReads(Optional<java.lang.Long> unalignedReads) |
void |
setUnalignedWrites(Optional<java.lang.Long> unalignedWrites) |
void |
setWriteBytes(java.lang.Long writeBytes) |
void |
setWriteBytesLastSample(Optional<java.lang.Long> writeBytesLastSample) |
void |
setWriteLatencyUSec(Optional<java.lang.Long> writeLatencyUSec) |
void |
setWriteLatencyUSecTotal(java.lang.Long writeLatencyUSecTotal) |
void |
setWriteOps(java.lang.Long writeOps) |
void |
setWriteOpsLastSample(Optional<java.lang.Long> writeOpsLastSample) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ClusterStats(java.lang.Double clusterUtilization, java.lang.Long clientQueueDepth, java.lang.Long normalizedIOPS, java.lang.Long readBytes, java.lang.Long readLatencyUSecTotal, java.lang.Long readOps, java.lang.Long servicesCount, java.lang.Long servicesTotal, java.lang.String timestamp, java.lang.Long writeBytes, java.lang.Long writeLatencyUSecTotal, java.lang.Long writeOps, Optional<java.lang.Long> actualIOPS, Optional<java.lang.Long> averageIOPSize, Optional<java.lang.Long> latencyUSec, Optional<java.lang.Long> readBytesLastSample, Optional<java.lang.Long> readLatencyUSec, Optional<java.lang.Long> readOpsLastSample, Optional<java.lang.Long> samplePeriodMsec, Optional<java.lang.Long> unalignedReads, Optional<java.lang.Long> unalignedWrites, Optional<java.lang.Long> writeBytesLastSample, Optional<java.lang.Long> writeLatencyUSec, Optional<java.lang.Long> writeOpsLastSample)
public java.lang.Double getClusterUtilization()
public void setClusterUtilization(java.lang.Double clusterUtilization)
public java.lang.Long getClientQueueDepth()
public void setClientQueueDepth(java.lang.Long clientQueueDepth)
public java.lang.Long getNormalizedIOPS()
public void setNormalizedIOPS(java.lang.Long normalizedIOPS)
public java.lang.Long getReadBytes()
public void setReadBytes(java.lang.Long readBytes)
public java.lang.Long getReadLatencyUSecTotal()
public void setReadLatencyUSecTotal(java.lang.Long readLatencyUSecTotal)
public java.lang.Long getReadOps()
public void setReadOps(java.lang.Long readOps)
public java.lang.Long getServicesCount()
public void setServicesCount(java.lang.Long servicesCount)
public java.lang.Long getServicesTotal()
public void setServicesTotal(java.lang.Long servicesTotal)
public java.lang.String getTimestamp()
public void setTimestamp(java.lang.String timestamp)
public java.lang.Long getWriteBytes()
public void setWriteBytes(java.lang.Long writeBytes)
public java.lang.Long getWriteLatencyUSecTotal()
public void setWriteLatencyUSecTotal(java.lang.Long writeLatencyUSecTotal)
public java.lang.Long getWriteOps()
public void setWriteOps(java.lang.Long writeOps)
public Optional<java.lang.Long> getActualIOPS()
public void setActualIOPS(Optional<java.lang.Long> actualIOPS)
public Optional<java.lang.Long> getAverageIOPSize()
public void setAverageIOPSize(Optional<java.lang.Long> averageIOPSize)
public Optional<java.lang.Long> getLatencyUSec()
public void setLatencyUSec(Optional<java.lang.Long> latencyUSec)
public Optional<java.lang.Long> getReadBytesLastSample()
public void setReadBytesLastSample(Optional<java.lang.Long> readBytesLastSample)
public Optional<java.lang.Long> getReadLatencyUSec()
public void setReadLatencyUSec(Optional<java.lang.Long> readLatencyUSec)
public Optional<java.lang.Long> getReadOpsLastSample()
public void setReadOpsLastSample(Optional<java.lang.Long> readOpsLastSample)
public Optional<java.lang.Long> getSamplePeriodMsec()
public void setSamplePeriodMsec(Optional<java.lang.Long> samplePeriodMsec)
public Optional<java.lang.Long> getUnalignedReads()
public void setUnalignedReads(Optional<java.lang.Long> unalignedReads)
public Optional<java.lang.Long> getUnalignedWrites()
public void setUnalignedWrites(Optional<java.lang.Long> unalignedWrites)
public Optional<java.lang.Long> getWriteBytesLastSample()
public void setWriteBytesLastSample(Optional<java.lang.Long> writeBytesLastSample)
public Optional<java.lang.Long> getWriteLatencyUSec()
public void setWriteLatencyUSec(Optional<java.lang.Long> writeLatencyUSec)
public Optional<java.lang.Long> getWriteOpsLastSample()
public void setWriteOpsLastSample(Optional<java.lang.Long> writeOpsLastSample)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ClusterStats.Builder builder()
public final ClusterStats.Builder asBuilder()