@InterfaceStability.Unstable @InterfaceAudience.Public public class BlockStorageLocation extends BlockLocation
BlockLocation that also adds VolumeId volume
location information for each replica.| Constructor and Description |
|---|
BlockStorageLocation(BlockLocation loc,
VolumeId[] volumeIds) |
| Modifier and Type | Method and Description |
|---|---|
VolumeId[] |
getVolumeIds()
Gets the list of
VolumeId corresponding to the block's replicas. |
getHosts, getLength, getNames, getOffset, getTopologyPaths, isCorrupt, setCorrupt, setHosts, setLength, setNames, setOffset, setTopologyPaths, toStringpublic BlockStorageLocation(BlockLocation loc, VolumeId[] volumeIds) throws IOException
IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.