Class INode.QuotaDelta
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.INode.QuotaDelta
- Enclosing class:
- INode
Information used to record quota usage delta. This data structure is
usually passed along with an operation like
INode.cleanSubtree(org.apache.hadoop.hdfs.server.namenode.INode.ReclaimContext, int, int). Note
that after the operation the delta counts should be decremented from the
ancestral directories' quota usage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(QuotaCounts update) voidaddQuotaDirUpdate(INodeDirectory dir, QuotaCounts update) voidaddUpdatePath(INodeReference inode, QuotaCounts update) longvoid
-
Constructor Details
-
QuotaDelta
public QuotaDelta()
-
-
Method Details
-
add
-
addUpdatePath
-
addQuotaDirUpdate
-
getCountsCopy
-
setCounts
-
getNsDelta
public long getNsDelta() -
getUpdateMap
-
getQuotaDirMap
-