Class INode.ReclaimContext

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INode.ReclaimContext
Enclosing class:
INode

public static class INode.ReclaimContext extends Object
Context object to record blocks and inodes that need to be reclaimed
  • Field Details

  • Constructor Details

    • ReclaimContext

      public ReclaimContext(BlockStoragePolicySuite bsps, INode.BlocksMapUpdateInfo collectedBlocks, List<INode> removedINodes, List<Long> removedUCFiles)
      Parameters:
      bsps - block storage policy suite to calculate intended storage type usage
      collectedBlocks - blocks collected from the descents for further block deletion/update will be added to the given map.
      removedINodes - INodes collected from the descents for further cleaning up of
      removedUCFiles - INodes whose leases need to be released
  • Method Details