public class DriveStats
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DriveStats.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DriveStats() |
DriveStats(Optional<java.lang.Long> activeSessions,
Optional<java.lang.Long> driveID,
java.lang.Long failedDieCount,
java.lang.Long lifeRemainingPercent,
java.lang.Long lifetimeReadBytes,
java.lang.Long lifetimeWriteBytes,
java.lang.Long powerOnHours,
java.lang.Long readBytes,
java.lang.Long readOps,
java.lang.Long reallocatedSectors,
java.lang.Long reserveCapacityPercent,
java.lang.String timestamp,
java.lang.Long totalCapacity,
Optional<java.lang.Long> usedCapacity,
java.lang.Long usedMemory,
java.lang.Long writeBytes,
java.lang.Long writeOps) |
Modifier and Type | Method and Description |
---|---|
DriveStats.Builder |
asBuilder() |
static DriveStats.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Long> |
getActiveSessions() |
Optional<java.lang.Long> |
getDriveID() |
java.lang.Long |
getFailedDieCount() |
java.lang.Long |
getLifeRemainingPercent() |
java.lang.Long |
getLifetimeReadBytes() |
java.lang.Long |
getLifetimeWriteBytes() |
java.lang.Long |
getPowerOnHours() |
java.lang.Long |
getReadBytes() |
java.lang.Long |
getReadOps() |
java.lang.Long |
getReallocatedSectors() |
java.lang.Long |
getReserveCapacityPercent() |
java.lang.String |
getTimestamp() |
java.lang.Long |
getTotalCapacity() |
Optional<java.lang.Long> |
getUsedCapacity() |
java.lang.Long |
getUsedMemory() |
java.lang.Long |
getWriteBytes() |
java.lang.Long |
getWriteOps() |
int |
hashCode() |
void |
setActiveSessions(Optional<java.lang.Long> activeSessions) |
void |
setDriveID(Optional<java.lang.Long> driveID) |
void |
setFailedDieCount(java.lang.Long failedDieCount) |
void |
setLifeRemainingPercent(java.lang.Long lifeRemainingPercent) |
void |
setLifetimeReadBytes(java.lang.Long lifetimeReadBytes) |
void |
setLifetimeWriteBytes(java.lang.Long lifetimeWriteBytes) |
void |
setPowerOnHours(java.lang.Long powerOnHours) |
void |
setReadBytes(java.lang.Long readBytes) |
void |
setReadOps(java.lang.Long readOps) |
void |
setReallocatedSectors(java.lang.Long reallocatedSectors) |
void |
setReserveCapacityPercent(java.lang.Long reserveCapacityPercent) |
void |
setTimestamp(java.lang.String timestamp) |
void |
setTotalCapacity(java.lang.Long totalCapacity) |
void |
setUsedCapacity(Optional<java.lang.Long> usedCapacity) |
void |
setUsedMemory(java.lang.Long usedMemory) |
void |
setWriteBytes(java.lang.Long writeBytes) |
void |
setWriteOps(java.lang.Long writeOps) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public DriveStats(Optional<java.lang.Long> activeSessions, Optional<java.lang.Long> driveID, java.lang.Long failedDieCount, java.lang.Long lifeRemainingPercent, java.lang.Long lifetimeReadBytes, java.lang.Long lifetimeWriteBytes, java.lang.Long powerOnHours, java.lang.Long readBytes, java.lang.Long readOps, java.lang.Long reallocatedSectors, java.lang.Long reserveCapacityPercent, java.lang.String timestamp, java.lang.Long totalCapacity, Optional<java.lang.Long> usedCapacity, java.lang.Long usedMemory, java.lang.Long writeBytes, java.lang.Long writeOps)
public Optional<java.lang.Long> getActiveSessions()
public void setActiveSessions(Optional<java.lang.Long> activeSessions)
public Optional<java.lang.Long> getDriveID()
public void setDriveID(Optional<java.lang.Long> driveID)
public java.lang.Long getFailedDieCount()
public void setFailedDieCount(java.lang.Long failedDieCount)
public java.lang.Long getLifeRemainingPercent()
public void setLifeRemainingPercent(java.lang.Long lifeRemainingPercent)
public java.lang.Long getLifetimeReadBytes()
public void setLifetimeReadBytes(java.lang.Long lifetimeReadBytes)
public java.lang.Long getLifetimeWriteBytes()
public void setLifetimeWriteBytes(java.lang.Long lifetimeWriteBytes)
public java.lang.Long getPowerOnHours()
public void setPowerOnHours(java.lang.Long powerOnHours)
public java.lang.Long getReadBytes()
public void setReadBytes(java.lang.Long readBytes)
public java.lang.Long getReadOps()
public void setReadOps(java.lang.Long readOps)
public java.lang.Long getReallocatedSectors()
public void setReallocatedSectors(java.lang.Long reallocatedSectors)
public java.lang.Long getReserveCapacityPercent()
public void setReserveCapacityPercent(java.lang.Long reserveCapacityPercent)
public java.lang.String getTimestamp()
public void setTimestamp(java.lang.String timestamp)
public java.lang.Long getTotalCapacity()
public void setTotalCapacity(java.lang.Long totalCapacity)
public Optional<java.lang.Long> getUsedCapacity()
public void setUsedCapacity(Optional<java.lang.Long> usedCapacity)
public java.lang.Long getUsedMemory()
public void setUsedMemory(java.lang.Long usedMemory)
public java.lang.Long getWriteBytes()
public void setWriteBytes(java.lang.Long writeBytes)
public java.lang.Long getWriteOps()
public void setWriteOps(java.lang.Long writeOps)
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 DriveStats.Builder builder()
public final DriveStats.Builder asBuilder()