| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode | 
| Modifier and Type | Method and Description | 
|---|---|
| static BlockStoragePolicySuite | BlockStoragePolicySuite. createDefaultSuite() | 
| Modifier and Type | Field and Description | 
|---|---|
| protected BlockStoragePolicySuite | INode.ReclaimContext. bsps | 
| Modifier and Type | Method and Description | 
|---|---|
| BlockStoragePolicySuite | INode.ReclaimContext. storagePolicySuite() | 
| 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. | 
| Constructor and Description | 
|---|
| ReclaimContext(BlockStoragePolicySuite bsps,
              INode.BlocksMapUpdateInfo collectedBlocks,
              List<org.apache.hadoop.hdfs.server.namenode.INode> removedINodes,
              List<Long> removedUCFiles) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.