public static class Dispatcher.DBlockStriped extends Dispatcher.DBlock
locations
Constructor and Description |
---|
DBlockStriped(org.apache.hadoop.hdfs.protocol.Block block,
byte[] indices,
short dataBlockNum,
int cellSize) |
Modifier and Type | Method and Description |
---|---|
Dispatcher.DBlock |
getInternalBlock(Dispatcher.DDatanode.StorageGroup storage) |
long |
getNumBytes(Dispatcher.DDatanode.StorageGroup storage) |
addLocation, clearLocations, getBlock, getLocations, getNumBytes, isLocatedOn, toString
public DBlockStriped(org.apache.hadoop.hdfs.protocol.Block block, byte[] indices, short dataBlockNum, int cellSize)
public Dispatcher.DBlock getInternalBlock(Dispatcher.DDatanode.StorageGroup storage)
public long getNumBytes(Dispatcher.DDatanode.StorageGroup storage)
getNumBytes
in class Dispatcher.DBlock
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.