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