## 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 |

- - ### 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 and Description
    --- | ---
    `static BlockStoragePolicySuite` | BlockStoragePolicySuite.`createDefaultSuite()`

  - ### 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 and Description
    --- | ---
    `protected BlockStoragePolicySuite` | INode.ReclaimContext.`bsps`

    Methods in org.apache.hadoop.hdfs.server.namenode that return BlockStoragePolicySuite
    Modifier and Type | Method and Description
    --- | ---
    `BlockStoragePolicySuite` | INode.ReclaimContext.`storagePolicySuite()`

    Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type BlockStoragePolicySuite
    Modifier and Type | Method and Description
    --- | ---
    `QuotaCounts` | INodeReference.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
    `QuotaCounts` | INodeReference.WithName.`computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId)`
    `QuotaCounts` | INodeDirectory.`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, org.apache.hadoop.hdfs.server.namenode.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
    Constructor and Description
    `ReclaimContext(BlockStoragePolicySuite bsps, INode.BlocksMapUpdateInfo collectedBlocks, List<org.apache.hadoop.hdfs.server.namenode.INode> removedINodes, List<Long> removedUCFiles)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.