Uses of Class
org.apache.hadoop.hdfs.server.namenode.QuotaCounts
Packages that use QuotaCounts
Package
Description
-
Uses of QuotaCounts in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return QuotaCountsModifier and TypeMethodDescriptionQuotaCounts.add(QuotaCounts that) QuotaCounts.Builder.build()final QuotaCountsINode.computeQuotaUsage(BlockStoragePolicySuite bsps) Count subtreeQuota.NAMESPACEandQuota.STORAGESPACEusages.final QuotaCountsINode.computeQuotaUsage(BlockStoragePolicySuite bsps, boolean useCache) abstract QuotaCountsINode.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) Count subtreeQuota.NAMESPACEandQuota.STORAGESPACEusages.INodeDirectory.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) final QuotaCountsINodeFile.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) INodeReference.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) final QuotaCountsINodeReference.WithName.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) INodeSymlink.computeQuotaUsage(BlockStoragePolicySuite bsps, byte blockStoragePolicyId, boolean useCache, int lastSnapshotId) INodeDirectory.computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps, byte storagePolicyId, QuotaCounts counts) Add quota usage for this inode excluding children.final QuotaCountsINodeFile.computeQuotaUsageWithStriped(org.apache.hadoop.hdfs.protocol.BlockStoragePolicy bsp, QuotaCounts counts) Compute quota of striped file.INode.QuotaDelta.getCountsCopy()INode.getQuotaCounts()Get the quota set for this inodeINodeDirectory.getQuotaCounts()INodeDirectoryAttributes.CopyWithQuota.getQuotaCounts()INodeDirectoryAttributes.getQuotaCounts()INodeDirectoryAttributes.SnapshotCopy.getQuotaCounts()INodeReference.getQuotaCounts()DirectoryWithQuotaFeature.getSpaceAllowed()DirectoryWithQuotaFeature.getSpaceConsumed()QuotaCounts.negation()Returns a QuotaCounts whose value is(-this).final QuotaCountsINodeFile.storagespaceConsumed(org.apache.hadoop.hdfs.protocol.BlockStoragePolicy bsp) Compute size consumed by all blocks of the current file, including blocks in its snapshots.final QuotaCountsINodeFile.storagespaceConsumedContiguous(org.apache.hadoop.hdfs.protocol.BlockStoragePolicy bsp) final QuotaCountsINodeFile.storagespaceConsumedStriped()QuotaCounts.subtract(QuotaCounts that) Methods in org.apache.hadoop.hdfs.server.namenode that return types with arguments of type QuotaCountsModifier and TypeMethodDescriptionINode.QuotaDelta.getQuotaDirMap()INode.QuotaDelta.getUpdateMap()Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type QuotaCountsModifier and TypeMethodDescriptionvoidINode.QuotaDelta.add(QuotaCounts update) QuotaCounts.add(QuotaCounts that) voidINode.QuotaDelta.addQuotaDirUpdate(INodeDirectory dir, QuotaCounts update) voidINode.addSpaceConsumed(QuotaCounts counts) Check and add namespace/storagespace/storagetype consumed to itself and the ancestors.voidINodeDirectory.addSpaceConsumed(QuotaCounts counts) voidDirectoryWithQuotaFeature.addSpaceConsumed2Cache(QuotaCounts delta) Update the space/namespace/type usage of the treevoidINode.QuotaDelta.addUpdatePath(INodeReference inode, QuotaCounts update) INodeDirectory.computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps, byte storagePolicyId, QuotaCounts counts) Add quota usage for this inode excluding children.final QuotaCountsINodeFile.computeQuotaUsageWithStriped(org.apache.hadoop.hdfs.protocol.BlockStoragePolicy bsp, QuotaCounts counts) Compute quota of striped file.QuotaCounts.Builder.quotaCount(QuotaCounts that) voidINode.QuotaDelta.setCounts(QuotaCounts c) QuotaCounts.subtract(QuotaCounts that) Method parameters in org.apache.hadoop.hdfs.server.namenode with type arguments of type QuotaCountsModifier and TypeMethodDescriptionFSDirectory.addLastINode(INodesInPath existing, INode inode, org.apache.hadoop.fs.permission.FsPermission modes, boolean checkQuota, Optional<QuotaCounts> quotaCount) Add a child to the end of the path specified by INodesInPath. -
Uses of QuotaCounts in org.apache.hadoop.hdfs.server.namenode.snapshot
Methods in org.apache.hadoop.hdfs.server.namenode.snapshot that return QuotaCountsModifier and TypeMethodDescriptionDirectoryWithSnapshotFeature.computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps, byte storagePolicyId)