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