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

# Uses of Class
org.apache.hadoop.hdfs.server.namenode.INode.ReclaimContext

Packages that use INode.ReclaimContext
Package
Description
org.apache.hadoop.hdfs.server.namenode
org.apache.hadoop.hdfs.server.namenode.snapshot

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

  Methods in org.apache.hadoop.hdfs.server.namenode that return INode.ReclaimContext
  Modifier and Type
  Method
  Description
  `INode.ReclaimContext`
  INode.ReclaimContext.`getCopy()`
  make a copy with the same collectedBlocks, removedINodes, and removedUCFiles but a new quotaDelta.
  Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type INode.ReclaimContext
  Modifier and Type
  Method
  Description
  `abstract void`
  INode.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshotId, int priorSnapshotId)`
  Clean the subtree under this inode and collect the blocks from the descents for further block deletion/update.
  `void`
  INodeDirectory.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshotId, int priorSnapshotId)`
  `void`
  INodeFile.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshot, int priorSnapshotId)`
  `void`
  INodeReference.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshot, int prior)`
  `void`
  INodeReference.DstReference.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshot, int prior)`
  `void`
  INodeReference.WithName.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshot, int prior)`
  `void`
  INodeSymlink.`cleanSubtree(INode.ReclaimContext reclaimContext, int snapshotId, int priorSnapshotId)`
  `void`
  INodeDirectory.`cleanSubtreeRecursively(INode.ReclaimContext reclaimContext, int snapshot, int prior, Map<INode,INode> excludedNodes)`
  Call cleanSubtree(..) recursively down the subtree.
  `void`
  INodeFile.`clearFile(INode.ReclaimContext reclaimContext)`
  `abstract void`
  INode.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  Destroy self and clear everything!
  `void`
  INodeDirectory.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  `void`
  INodeFile.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  `void`
  INodeReference.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  `void`
  INodeReference.DstReference.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  Destroy self and clear everything!
  `void`
  INodeReference.WithName.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  `void`
  INodeSymlink.`destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)`
  `Snapshot`
  INodeDirectory.`removeSnapshot(INode.ReclaimContext reclaimContext, String snapshotName, long mtime, SnapshotManager snapshotManager)`
  Delete a snapshot.

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

  Methods in org.apache.hadoop.hdfs.server.namenode.snapshot with parameters of type INode.ReclaimContext
  Modifier and Type
  Method
  Description
  `void`
  DirectoryWithSnapshotFeature.`cleanDirectory(INode.ReclaimContext reclaimContext, INodeDirectory currentINode, int snapshot, int prior)`
  `void`
  FileWithSnapshotFeature.`cleanFile(INode.ReclaimContext reclaimContext, INodeFile file, int snapshotId, int priorSnapshotId, byte storagePolicyId)`
  `void`
  DirectoryWithSnapshotFeature.`clear(INode.ReclaimContext reclaimContext, INodeDirectory currentINode)`
  `void`
  FileWithSnapshotFeature.`collectBlocksAndClear(INode.ReclaimContext reclaimContext, INodeFile file)`
  If some blocks at the end of the block list no longer belongs to any inode, collect them and update the block list.
  `void`
  SnapshotManager.`deleteSnapshot(INodesInPath iip, String snapshotName, INode.ReclaimContext reclaimContext, long now)`
  Delete a snapshot for a snapshottable directory
  `static void`
  DirectoryWithSnapshotFeature.`destroyDstSubtree(INode.ReclaimContext reclaimContext, INode inode, int snapshot, int prior)`
  Destroy a subtree under a DstReference node.
  `Snapshot`
  DirectorySnapshottableFeature.`removeSnapshot(INode.ReclaimContext reclaimContext, INodeDirectory snapshotRoot, String snapshotName, long now, SnapshotManager snapshotManager)`
  Remove the snapshot with the given name from `DirectorySnapshottableFeature.snapshotsByNames`, and delete all the corresponding DirectoryDiff.
  `void`
  FileWithSnapshotFeature.`updateQuotaAndCollectBlocks(INode.ReclaimContext reclaimContext, INodeFile file, FileDiff removed)`