DirectoryScanner.ScanInfoVolumeReport (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.datanode, class: DirectoryScanner, class: ScanInfoVolumeReport

Package org.apache.hadoop.hdfs.server.datanode

# Class DirectoryScanner.ScanInfoVolumeReport

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.DirectoryScanner.ScanInfoVolumeReport

Enclosing class:
  DirectoryScanner

@VisibleForTesting public static class DirectoryScanner.ScanInfoVolumeReport extends Object
Helper class for compiling block info reports from report compiler threads. Contains a volume, a set of block pool IDs, and a collection of ScanInfo objects. If a block pool exists but has no ScanInfo objects associated with it, there will be no mapping for that particular block pool.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addAll(String bpid, Collection<FsVolumeSpi.ScanInfo> scanInfos)`
  `Set<String>`
  `getBlockPoolIds()`
  `List<FsVolumeSpi.ScanInfo>`
  `getScanInfo(String bpid)`
  `FsVolumeSpi`
  `getVolume()`
  `String`
  `toString()`

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

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

- ## Method Details

  - ### addAll

    public void addAll(String bpid, Collection<FsVolumeSpi.ScanInfo> scanInfos)

  - ### getBlockPoolIds

    public Set<String> getBlockPoolIds()

  - ### getScanInfo

    public List<FsVolumeSpi.ScanInfo> getScanInfo(String bpid)

  - ### getVolume

    public FsVolumeSpi getVolume()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`