public class VirtualVolumeStats
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
VirtualVolumeStats.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
VirtualVolumeStats() |
VirtualVolumeStats(java.lang.Long accountID,
Optional<java.lang.Long> actualIOPS,
Optional<java.lang.String> asyncDelay,
Optional<java.lang.Long> averageIOPSize,
Optional<java.lang.Long> burstIOPSCredit,
Optional<java.lang.Long> clientQueueDepth,
Optional<MetadataHosts> desiredMetadataHosts,
Optional<java.lang.Long> latencyUSec,
Optional<MetadataHosts> metadataHosts,
java.lang.Long nonZeroBlocks,
java.lang.Long readBytes,
Optional<java.lang.Long> readLatencyUSec,
java.lang.Long readOps,
Optional<java.lang.Double> throttle,
java.lang.String timestamp,
Optional<java.lang.Long> totalLatencyUSec,
java.lang.Long unalignedReads,
java.lang.Long unalignedWrites,
java.lang.Long[] volumeAccessGroups,
java.lang.Long volumeID,
java.lang.Long volumeSize,
Optional<java.lang.Double> volumeUtilization,
java.lang.Long writeBytes,
Optional<java.lang.Long> writeLatencyUSec,
java.lang.Long writeOps,
java.lang.Long zeroBlocks,
Optional<java.lang.Long> writeBytesLastSample,
Optional<java.lang.Long> samplePeriodMSec,
Optional<java.lang.Long> readBytesLastSample,
Optional<java.lang.Long> readOpsLastSample,
Optional<java.lang.Long> writeOpsLastSample,
Optional<java.util.UUID> virtualVolumeID) |
Modifier and Type | Method and Description |
---|---|
VirtualVolumeStats.Builder |
asBuilder() |
static VirtualVolumeStats.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAccountID()
AccountID of the volume owner.
|
Optional<java.lang.Long> |
getActualIOPS()
Current actual IOPS to the volume in the last 500 milliseconds.
|
Optional<java.lang.String> |
getAsyncDelay()
The length of time since the volume was last synced with the remote cluster.
|
Optional<java.lang.Long> |
getAverageIOPSize()
Average size in bytes of recent I/O to the volume in the last 500 milliseconds.
|
Optional<java.lang.Long> |
getBurstIOPSCredit()
The total number of IOP credits available to the user.
|
Optional<java.lang.Long> |
getClientQueueDepth()
The number of outstanding read and write operations to the cluster.
|
Optional<MetadataHosts> |
getDesiredMetadataHosts()
The volume services being migrated to if the volume metadata is getting migrated between volume services.
|
Optional<java.lang.Long> |
getLatencyUSec()
The observed latency time, in microseconds, to complete operations to a volume.
|
Optional<MetadataHosts> |
getMetadataHosts()
The volume services on which the volume metadata resides.
|
java.lang.Long |
getNonZeroBlocks()
The number of 4KiB blocks with data after the last garbage collection operation has completed.
|
java.lang.Long |
getReadBytes()
Total bytes read by clients.
|
Optional<java.lang.Long> |
getReadBytesLastSample()
The total number of bytes read from the volume during the last sample period.
|
Optional<java.lang.Long> |
getReadLatencyUSec()
The average time, in microseconds, to complete read operations.
|
java.lang.Long |
getReadOps()
Total read operations.
|
Optional<java.lang.Long> |
getReadOpsLastSample()
The total number of read operations durin gth elast sample period.
|
Optional<java.lang.Long> |
getSamplePeriodMSec()
The length of the sample period in milliseconds.
|
Optional<java.lang.Double> |
getThrottle()
A floating value between 0 and 1 that represents how much the system is throttling clients
below their max IOPS because of re-replication of data, transient errors and snapshots taken.
|
java.lang.String |
getTimestamp()
The current time in UTC.
|
Optional<java.lang.Long> |
getTotalLatencyUSec()
The average time, in microseconds, to complete read and write operations to a volume.
|
java.lang.Long |
getUnalignedReads()
For 512e volumes, the number of read operations that were not on a 4k sector boundary.
|
java.lang.Long |
getUnalignedWrites()
For 512e volumes, the number of write operations that were not on a 4k sector boundary.
|
Optional<java.util.UUID> |
getVirtualVolumeID()
If the volume of interest is associated with a virtual volume, this is the virtual volume ID.
|
java.lang.Long[] |
getVolumeAccessGroups()
List of volume access group(s) to which a volume beintegers.
|
java.lang.Long |
getVolumeID()
Volume ID of the volume.
|
java.lang.Long |
getVolumeSize()
Total provisioned capacity in bytes.
|
Optional<java.lang.Double> |
getVolumeUtilization()
A floating value that describes how much the client is using the volume.
|
java.lang.Long |
getWriteBytes()
Total bytes written by clients.
|
Optional<java.lang.Long> |
getWriteBytesLastSample()
The total number of bytes written to the volume during the last sample period.
|
Optional<java.lang.Long> |
getWriteLatencyUSec()
The average time, in microseconds, to complete write operations.
|
java.lang.Long |
getWriteOps()
Total write operations occurring on the volume.
|
Optional<java.lang.Long> |
getWriteOpsLastSample()
The total number of write operations during the last sample period.
|
java.lang.Long |
getZeroBlocks()
Total number of 4KiB blocks without data after the last round of garbage collection operation has completed.
|
int |
hashCode() |
void |
setAccountID(java.lang.Long accountID) |
void |
setActualIOPS(Optional<java.lang.Long> actualIOPS) |
void |
setAsyncDelay(Optional<java.lang.String> asyncDelay) |
void |
setAverageIOPSize(Optional<java.lang.Long> averageIOPSize) |
void |
setBurstIOPSCredit(Optional<java.lang.Long> burstIOPSCredit) |
void |
setClientQueueDepth(Optional<java.lang.Long> clientQueueDepth) |
void |
setDesiredMetadataHosts(Optional<MetadataHosts> desiredMetadataHosts) |
void |
setLatencyUSec(Optional<java.lang.Long> latencyUSec) |
void |
setMetadataHosts(Optional<MetadataHosts> metadataHosts) |
void |
setNonZeroBlocks(java.lang.Long nonZeroBlocks) |
void |
setReadBytes(java.lang.Long readBytes) |
void |
setReadBytesLastSample(Optional<java.lang.Long> readBytesLastSample) |
void |
setReadLatencyUSec(Optional<java.lang.Long> readLatencyUSec) |
void |
setReadOps(java.lang.Long readOps) |
void |
setReadOpsLastSample(Optional<java.lang.Long> readOpsLastSample) |
void |
setSamplePeriodMSec(Optional<java.lang.Long> samplePeriodMSec) |
void |
setThrottle(Optional<java.lang.Double> throttle) |
void |
setTimestamp(java.lang.String timestamp) |
void |
setTotalLatencyUSec(Optional<java.lang.Long> totalLatencyUSec) |
void |
setUnalignedReads(java.lang.Long unalignedReads) |
void |
setUnalignedWrites(java.lang.Long unalignedWrites) |
void |
setVirtualVolumeID(Optional<java.util.UUID> virtualVolumeID) |
void |
setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups) |
void |
setVolumeID(java.lang.Long volumeID) |
void |
setVolumeSize(java.lang.Long volumeSize) |
void |
setVolumeUtilization(Optional<java.lang.Double> volumeUtilization) |
void |
setWriteBytes(java.lang.Long writeBytes) |
void |
setWriteBytesLastSample(Optional<java.lang.Long> writeBytesLastSample) |
void |
setWriteLatencyUSec(Optional<java.lang.Long> writeLatencyUSec) |
void |
setWriteOps(java.lang.Long writeOps) |
void |
setWriteOpsLastSample(Optional<java.lang.Long> writeOpsLastSample) |
void |
setZeroBlocks(java.lang.Long zeroBlocks) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public VirtualVolumeStats(java.lang.Long accountID, Optional<java.lang.Long> actualIOPS, Optional<java.lang.String> asyncDelay, Optional<java.lang.Long> averageIOPSize, Optional<java.lang.Long> burstIOPSCredit, Optional<java.lang.Long> clientQueueDepth, Optional<MetadataHosts> desiredMetadataHosts, Optional<java.lang.Long> latencyUSec, Optional<MetadataHosts> metadataHosts, java.lang.Long nonZeroBlocks, java.lang.Long readBytes, Optional<java.lang.Long> readLatencyUSec, java.lang.Long readOps, Optional<java.lang.Double> throttle, java.lang.String timestamp, Optional<java.lang.Long> totalLatencyUSec, java.lang.Long unalignedReads, java.lang.Long unalignedWrites, java.lang.Long[] volumeAccessGroups, java.lang.Long volumeID, java.lang.Long volumeSize, Optional<java.lang.Double> volumeUtilization, java.lang.Long writeBytes, Optional<java.lang.Long> writeLatencyUSec, java.lang.Long writeOps, java.lang.Long zeroBlocks, Optional<java.lang.Long> writeBytesLastSample, Optional<java.lang.Long> samplePeriodMSec, Optional<java.lang.Long> readBytesLastSample, Optional<java.lang.Long> readOpsLastSample, Optional<java.lang.Long> writeOpsLastSample, Optional<java.util.UUID> virtualVolumeID)
public java.lang.Long getAccountID()
public void setAccountID(java.lang.Long accountID)
public Optional<java.lang.Long> getActualIOPS()
public void setActualIOPS(Optional<java.lang.Long> actualIOPS)
public Optional<java.lang.String> getAsyncDelay()
public void setAsyncDelay(Optional<java.lang.String> asyncDelay)
public Optional<java.lang.Long> getAverageIOPSize()
public void setAverageIOPSize(Optional<java.lang.Long> averageIOPSize)
public Optional<java.lang.Long> getBurstIOPSCredit()
public void setBurstIOPSCredit(Optional<java.lang.Long> burstIOPSCredit)
public Optional<java.lang.Long> getClientQueueDepth()
public void setClientQueueDepth(Optional<java.lang.Long> clientQueueDepth)
public Optional<MetadataHosts> getDesiredMetadataHosts()
public void setDesiredMetadataHosts(Optional<MetadataHosts> desiredMetadataHosts)
public Optional<java.lang.Long> getLatencyUSec()
public void setLatencyUSec(Optional<java.lang.Long> latencyUSec)
public Optional<MetadataHosts> getMetadataHosts()
public void setMetadataHosts(Optional<MetadataHosts> metadataHosts)
public java.lang.Long getNonZeroBlocks()
public void setNonZeroBlocks(java.lang.Long nonZeroBlocks)
public java.lang.Long getReadBytes()
public void setReadBytes(java.lang.Long readBytes)
public Optional<java.lang.Long> getReadLatencyUSec()
public void setReadLatencyUSec(Optional<java.lang.Long> readLatencyUSec)
public java.lang.Long getReadOps()
public void setReadOps(java.lang.Long readOps)
public Optional<java.lang.Double> getThrottle()
public void setThrottle(Optional<java.lang.Double> throttle)
public java.lang.String getTimestamp()
public void setTimestamp(java.lang.String timestamp)
public Optional<java.lang.Long> getTotalLatencyUSec()
public void setTotalLatencyUSec(Optional<java.lang.Long> totalLatencyUSec)
public java.lang.Long getUnalignedReads()
public void setUnalignedReads(java.lang.Long unalignedReads)
public java.lang.Long getUnalignedWrites()
public void setUnalignedWrites(java.lang.Long unalignedWrites)
public java.lang.Long[] getVolumeAccessGroups()
public void setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups)
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public java.lang.Long getVolumeSize()
public void setVolumeSize(java.lang.Long volumeSize)
public Optional<java.lang.Double> getVolumeUtilization()
public void setVolumeUtilization(Optional<java.lang.Double> volumeUtilization)
public java.lang.Long getWriteBytes()
public void setWriteBytes(java.lang.Long writeBytes)
public Optional<java.lang.Long> getWriteLatencyUSec()
public void setWriteLatencyUSec(Optional<java.lang.Long> writeLatencyUSec)
public java.lang.Long getWriteOps()
public void setWriteOps(java.lang.Long writeOps)
public java.lang.Long getZeroBlocks()
public void setZeroBlocks(java.lang.Long zeroBlocks)
public Optional<java.lang.Long> getWriteBytesLastSample()
public void setWriteBytesLastSample(Optional<java.lang.Long> writeBytesLastSample)
public Optional<java.lang.Long> getSamplePeriodMSec()
public void setSamplePeriodMSec(Optional<java.lang.Long> samplePeriodMSec)
public Optional<java.lang.Long> getReadBytesLastSample()
public void setReadBytesLastSample(Optional<java.lang.Long> readBytesLastSample)
public Optional<java.lang.Long> getReadOpsLastSample()
public void setReadOpsLastSample(Optional<java.lang.Long> readOpsLastSample)
public Optional<java.lang.Long> getWriteOpsLastSample()
public void setWriteOpsLastSample(Optional<java.lang.Long> writeOpsLastSample)
public Optional<java.util.UUID> getVirtualVolumeID()
public void setVirtualVolumeID(Optional<java.util.UUID> virtualVolumeID)
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 VirtualVolumeStats.Builder builder()
public final VirtualVolumeStats.Builder asBuilder()