public class DiskUsageStats extends GenericModel
| Constructor and Description |
|---|
DiskUsageStats(long usedBytes,
long totalBytes,
java.lang.String used,
java.lang.String total,
double percentUsed)
Instantiates a new disk usage stats.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPercentUsed()
Gets the percent used.
|
java.lang.String |
getTotal()
Gets the total.
|
long |
getTotalBytes()
Gets the total bytes.
|
java.lang.String |
getUsed()
Gets the used.
|
long |
getUsedBytes()
Gets the used bytes.
|
equals, hashCode, toStringpublic DiskUsageStats(long usedBytes,
long totalBytes,
java.lang.String used,
java.lang.String total,
double percentUsed)
usedBytes - the used bytestotalBytes - the total bytesused - the usedtotal - the totalpercentUsed - the percent usedpublic java.lang.String getUsed()
public long getUsedBytes()
public java.lang.String getTotal()
public long getTotalBytes()
public double getPercentUsed()