Package org.apache.hadoop.ozone.om
Class PendingKeysDeletion
java.lang.Object
org.apache.hadoop.ozone.om.PendingKeysDeletion
Tracks metadata for keys pending deletion and their associated blocks.
This class maintains:
- A list of
BlockGroupentries, where each entry contains a key name and its associated block IDs - A key-value mapping that requires updating after the remaining blocks are purged
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents metadata for a key that has been purged. -
Constructor Summary
ConstructorsConstructorDescriptionPendingKeysDeletion(Map<String, PendingKeysDeletion.PurgedKey> purgedKeys, Map<String, org.apache.hadoop.ozone.om.helpers.RepeatedOmKeyInfo> keysToModify, int notReclaimableKeyCount) -
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
PendingKeysDeletion
public PendingKeysDeletion(Map<String, PendingKeysDeletion.PurgedKey> purgedKeys, Map<String, org.apache.hadoop.ozone.om.helpers.RepeatedOmKeyInfo> keysToModify, int notReclaimableKeyCount)
-
-
Method Details
-
getKeysToModify
-
getPurgedKeys
-
getNotReclaimableKeyCount
public int getNotReclaimableKeyCount()
-