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