public interface DiskId extends Resource
ReplicaId
s. Each DiskId is hosted on one specific DataNodeId
. Each DiskId is uniquely
identified by its DataNodeId and mount path (the path to this Disk's device on its DataNode).Modifier and Type | Method and Description |
---|---|
DataNodeId |
getDataNodeId()
Gets the data node of this disk.
|
java.lang.String |
getMountPath()
Gets the absolute path to the mounted device
|
long |
getRawCapacityInBytes()
Gets the raw capacity in bytes for this DiskId.
|
HardwareState |
getState()
Gets the state of the DiskId.
|
getSnapshot
java.lang.String getMountPath()
HardwareState getState()
long getRawCapacityInBytes()
DataNodeId getDataNodeId()
DataNodeId
hosting this disk.