Class BlockInfoStriped.StorageAndBlockIndex

java.lang.Object
org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStriped.StorageAndBlockIndex
Enclosing class:
BlockInfoStriped

public static class BlockInfoStriped.StorageAndBlockIndex extends Object
This class contains datanode storage information and block index in the block group.
  • Method Details

    • getStorage

      public DatanodeStorageInfo getStorage()
      Returns:
      storage in the datanode.
    • getBlockIndex

      public byte getBlockIndex()
      Returns:
      block index in the block group.