public class DiskMountInfo extends Object implements Comparable<DiskMountInfo>
Constructor and Description |
---|
DiskMountInfo(int deviceId,
String mountPath) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DiskMountInfo other) |
boolean |
equals(Object obj) |
long |
getCapacity() |
int |
getDeviceId() |
String |
getMountPath() |
long |
getUsed() |
int |
hashCode() |
void |
setCapacity(long capacity) |
void |
setMountPath(String mountPath) |
void |
setUsed(long used) |
public DiskMountInfo(int deviceId, String mountPath)
public String getMountPath()
public void setMountPath(String mountPath)
public long getCapacity()
public void setCapacity(long capacity)
public long getUsed()
public void setUsed(long used)
public int getDeviceId()
public int compareTo(DiskMountInfo other)
compareTo
in interface Comparable<DiskMountInfo>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.