java.lang.Comparable<byte[]>, INodeAttributes, Diff.Element<byte[]>public static class INodeReference.WithCount extends INodeReference
INodeReference.DstReference, INodeReference.WithCount, INodeReference.WithNameINode.BlocksMapUpdateInfo, INode.Feature, INode.QuotaDelta, INode.ReclaimContextINodeAttributes.SnapshotCopy| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Comparator<INodeReference.WithName> |
WITHNAME_COMPARATOR |
Compare snapshot with IDs, where null indicates the current status thus
is greater than any non-null snapshot.
|
| Constructor | Description |
|---|---|
WithCount(INodeReference parent,
INode referred) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addReference(INodeReference ref) |
Increment and then return the reference count.
|
java.lang.String |
getCountDetails() |
|
INodeReference.WithName |
getLastWithName() |
Return the last WithName reference if there is any, null otherwise.
|
INodeReference |
getParentRef(int snapshotId) |
|
int |
getReferenceCount() |
|
void |
removeReference(INodeReference ref) |
Decrement and then return the reference count.
|
java.lang.String |
toDetailString() |
accept, asDirectory, asFile, asReference, asSymlink, cleanSubtree, clear, computeContentSummary, computeQuotaUsage, destroyAndCollectBlocks, dumpTreeRecursively, getAccessTime, getDstSnapshotId, getFsPermission, getFsPermissionShort, getGroupName, getId, getLocalNameBytes, getLocalStoragePolicyID, getModificationTime, getPermissionLong, getPermissionStatus, getQuotaCounts, getReferredINode, getSnapshotINode, getStoragePolicyID, getUserName, isDirectory, isFile, isReference, isSymlink, setAccessTime, setLocalName, setModificationTime, tryRemoveReference, updateModificationTimeaddSpaceConsumed, compareTo, computeAndConvertContentSummary, computeContentSummary, computeQuotaUsage, computeQuotaUsage, dumpINode, dumpParentINodes, dumpTreeRecursively, dumpTreeRecursively, equals, getAccessTime, getAclFeature, getFsPermission, getFullPathAndObjectString, getFullPathName, getGroupName, getKey, getLocalName, getModificationTime, getObjectString, getParent, getParentReference, getParentString, getPathComponents, getPathComponents, getPathNames, getStoragePolicyIDForQuota, getUserName, getXAttrFeature, hashCode, isAncestorDirectory, isDeleted, isInCurrentState, isInLatestSnapshot, isLastReference, isQuotaSet, isSetStoragePolicy, setAccessTime, setModificationTime, setParent, setParentReference, shouldRecordInSrcSnapshot, toStringpublic static final java.util.Comparator<INodeReference.WithName> WITHNAME_COMPARATOR
public WithCount(INodeReference parent, INode referred)
public java.lang.String getCountDetails()
public java.lang.String toDetailString()
toDetailString in class INodeReferencepublic int getReferenceCount()
public void addReference(INodeReference ref)
public void removeReference(INodeReference ref)
public INodeReference.WithName getLastWithName()
public INodeReference getParentRef(int snapshotId)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.