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 |
---|---|
void |
adjustIndices(List<Integer> adjustList)
Adjust EC block indices,it will remove the element of adjustList from indices.
|
long |
getNumBytes(Dispatcher.DDatanode.StorageGroup storage) |
void |
setIndices(byte[] indices) |
addLocation, clearLocations, getBlock, getLocations, getNumBytes, isLocatedOn, toString
public DBlockStriped(org.apache.hadoop.hdfs.protocol.Block block, byte[] indices, short dataBlockNum, int cellSize)
public long getNumBytes(Dispatcher.DDatanode.StorageGroup storage)
getNumBytes
in class Dispatcher.DBlock
public void setIndices(byte[] indices)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.