StorageBlockReport (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.protocol, class: StorageBlockReport

Package org.apache.hadoop.hdfs.server.protocol

# Class StorageBlockReport

java.lang.Object
org.apache.hadoop.hdfs.server.protocol.StorageBlockReport

public class StorageBlockReport extends Object
Block report for a Datanode storage

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StorageBlockReport(org.apache.hadoop.hdfs.server.protocol.DatanodeStorage storage, BlockListAsLongs blocks)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BlockListAsLongs`
  `getBlocks()`
  `org.apache.hadoop.hdfs.server.protocol.DatanodeStorage`
  `getStorage()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StorageBlockReport

    public StorageBlockReport(org.apache.hadoop.hdfs.server.protocol.DatanodeStorage storage, BlockListAsLongs blocks)

- ## Method Details

  - ### getStorage

    public org.apache.hadoop.hdfs.server.protocol.DatanodeStorage getStorage()

  - ### getBlocks

    public BlockListAsLongs getBlocks()