Class Dispatcher.DBlockStriped

Enclosing class:
Dispatcher

public static class Dispatcher.DBlockStriped extends Dispatcher.DBlock
  • Constructor Details

    • DBlockStriped

      public DBlockStriped(org.apache.hadoop.hdfs.protocol.Block block, byte[] indices, short dataBlockNum, int cellSize)
  • Method Details

    • getNumBytes

      public long getNumBytes(Dispatcher.DDatanode.StorageGroup storage)
      Overrides:
      getNumBytes in class Dispatcher.DBlock
    • setIndices

      public void setIndices(byte[] indices)
    • getIndices

      public byte[] getIndices()
    • adjustIndices

      public void adjustIndices(List<Integer> adjustList)
      Adjust EC block indices,it will remove the element of adjustList from indices.
      Parameters:
      adjustList - the list will be removed from indices