|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.fs.BlockLocation
org.apache.hadoop.fs.BlockStorageLocation
@InterfaceStability.Unstable @InterfaceAudience.Public public class BlockStorageLocation
Wrapper for BlockLocation
that also adds VolumeId
volume
location information for each replica.
Constructor Summary | |
---|---|
BlockStorageLocation(org.apache.hadoop.fs.BlockLocation loc,
VolumeId[] volumeIds)
|
Method Summary | |
---|---|
VolumeId[] |
getVolumeIds()
Gets the list of VolumeId corresponding to the block's replicas. |
Methods inherited from class org.apache.hadoop.fs.BlockLocation |
---|
getCachedHosts, getHosts, getLength, getNames, getOffset, getTopologyPaths, isCorrupt, setCachedHosts, setCorrupt, setHosts, setLength, setNames, setOffset, setTopologyPaths, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockStorageLocation(org.apache.hadoop.fs.BlockLocation loc, VolumeId[] volumeIds) throws IOException
IOException
Method Detail |
---|
public VolumeId[] getVolumeIds()
VolumeId
corresponding to the block's replicas.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |