Uses of Class org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.blockmanagement, class: BlockStoragePolicySuite

# Uses of Class
org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite

Packages that use BlockStoragePolicySuite
Package
Description
org.apache.hadoop.hdfs.server.blockmanagement
org.apache.hadoop.hdfs.server.namenode
org.apache.hadoop.hdfs.server.namenode.snapshot

- ## Uses of BlockStoragePolicySuite in org.apache.hadoop.hdfs.server.blockmanagement

  Methods in org.apache.hadoop.hdfs.server.blockmanagement that return BlockStoragePolicySuite
  Modifier and Type
  Method
  Description
  `static BlockStoragePolicySuite`
  BlockStoragePolicySuite.`createDefaultSuite()`
  `static BlockStoragePolicySuite`
  BlockStoragePolicySuite.`createDefaultSuite(org.apache.hadoop.conf.Configuration conf)`
  `BlockStoragePolicySuite`
  BlockManager.`getStoragePolicySuite()`
  Methods in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type BlockStoragePolicySuite
  Modifier and Type
  Method
  Description
  `org.apache.hadoop.fs.ContentSummary`
  BlockCollection.`computeContentSummary(BlockStoragePolicySuite bsps)`
  Get content summary.

- ## Uses of BlockStoragePolicySuite in org.apache.hadoop.hdfs.server.namenode

  Fields in org.apache.hadoop.hdfs.server.namenode declared as BlockStoragePolicySuite
  Modifier and Type
  Field
  Description
  `protected final BlockStoragePolicySuite`
  INode.ReclaimContext.`bsps`
  Methods in org.apache.hadoop.hdfs.server.namenode that return BlockStoragePolicySuite
  Modifier and Type
  Method
  Description
  `BlockStoragePolicySuite`
  ContentSummaryComputationContext.`getBlockStoragePolicySuite()`
  `BlockStoragePolicySuite`
  FSDirectory.`getBlockStoragePolicySuite()`
  `BlockStoragePolicySuite`
  INode.ReclaimContext.`storagePolicySuite()`
  Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type BlockStoragePolicySuite
  Modifier and Type
  Method
  Description
  `final org.apache.hadoop.fs.ContentSummary`
  INode.`computeContentSummary(BlockStoragePolicySuite bsps)`
  Compute `ContentSummary`.
  `final QuotaCounts`
  INode.`computeQuotaUsage(BlockStoragePolicySuite bsps)`
  Count subtree `Quota.NAMESPACE` and `Quota.STORAGESPACE` usages.
  `final QuotaCounts`
  INode.`computeQuotaUsage(BlockStoragePolicySuite bsps, boolean useCache)`
  `abstract QuotaCounts`
  INode.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  Count subtree `Quota.NAMESPACE` and `Quota.STORAGESPACE` usages.
  `QuotaCounts`
  INodeDirectory.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  `final QuotaCounts`
  INodeFile.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  `QuotaCounts`
  INodeReference.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  `final QuotaCounts`
  INodeReference.WithName.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  `QuotaCounts`
  INodeSymlink.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
  `QuotaCounts`
  INodeDirectory.`computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps, byte storagePolicyId, QuotaCounts counts)`
  Add quota usage for this inode excluding children.
  `void`
  INodeDirectory.`undoRename4DstParent(BlockStoragePolicySuite bsps, INode deletedChild, int latestSnapshotId)`
  Undo the rename operation for the dst tree, i.e., if the rename operation (with OVERWRITE option) removes a file/dir from the dst tree, add it back and delete possible record in the deleted list.
  Constructors in org.apache.hadoop.hdfs.server.namenode with parameters of type BlockStoragePolicySuite
  Modifier
  Constructor
  Description
  ``
  `ContentSummaryComputationContext(BlockStoragePolicySuite bsps)`
  Constructor for blocking computation.
  ``
  `ReclaimContext(BlockStoragePolicySuite bsps, INode.BlocksMapUpdateInfo collectedBlocks, List<INode> removedINodes, List<Long> removedUCFiles)`

- ## Uses of BlockStoragePolicySuite in org.apache.hadoop.hdfs.server.namenode.snapshot

  Methods in org.apache.hadoop.hdfs.server.namenode.snapshot with parameters of type BlockStoragePolicySuite
  Modifier and Type
  Method
  Description
  `void`
  DirectorySnapshottableFeature.`computeContentSummary4Snapshot(BlockStoragePolicySuite bsps, ContentCounts counts)`
  `void`
  DirectoryWithSnapshotFeature.`computeContentSummary4Snapshot(BlockStoragePolicySuite bsps, ContentCounts counts)`
  `QuotaCounts`
  DirectoryWithSnapshotFeature.`computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps, byte storagePolicyId)`