public final class DirectoryWithQuotaFeature extends Object implements INode.Feature
INodeDirectory
.Modifier and Type | Class and Description |
---|---|
static class |
DirectoryWithQuotaFeature.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_NAMESPACE_QUOTA |
static long |
DEFAULT_STORAGE_SPACE_QUOTA |
Modifier and Type | Method and Description |
---|---|
void |
addSpaceConsumed2Cache(QuotaCounts delta)
Update the space/namespace/type usage of the tree
|
QuotaCounts |
getSpaceConsumed() |
String |
toString() |
public static final long DEFAULT_NAMESPACE_QUOTA
public static final long DEFAULT_STORAGE_SPACE_QUOTA
public void addSpaceConsumed2Cache(QuotaCounts delta)
delta
- the change of the namespace/space/type usagepublic QuotaCounts getSpaceConsumed()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.