public static class INodeReference.WithCount extends INodeReference
INodeReference.DstReference, INodeReference.WithCount, INodeReference.WithName
INode.BlocksMapUpdateInfo
INodeAttributes.SnapshotCopy
Modifier and Type | Field and Description |
---|---|
static Comparator<INodeReference.WithName> |
WITHNAME_COMPARATOR
Compare snapshot with IDs, where null indicates the current status thus
is greater than any non-null snapshot.
|
Constructor and Description |
---|
INodeReference.WithCount(INodeReference parent,
INode referred) |
Modifier and Type | Method and Description |
---|---|
void |
addReference(INodeReference ref)
Increment and then return the reference count.
|
int |
getReferenceCount() |
void |
removeReference(INodeReference ref)
Decrement and then return the reference count.
|
asDirectory, asFile, asReference, asSymlink, cleanSubtree, clear, computeContentSummary, computeQuotaUsage, destroyAndCollectBlocks, dumpTreeRecursively, getAccessTime, getDsQuota, getDstSnapshotId, getFsPermission, getFsPermissionShort, getGroupName, getId, getLocalNameBytes, getModificationTime, getNsQuota, getPermissionLong, getPermissionStatus, getReferredINode, getSnapshotINode, getUserName, isDirectory, isFile, isReference, isSymlink, setAccessTime, setLocalName, setModificationTime, setReferredINode, tryRemoveReference, updateModificationTime
addSpaceConsumed, compareTo, computeContentSummary, computeQuotaUsage, computeQuotaUsage, dumpTreeRecursively, dumpTreeRecursively, equals, getAccessTime, getFsPermission, getFullPathName, getGroupName, getKey, getLocalName, getModificationTime, getObjectString, getParent, getParentReference, getParentString, getUserName, hashCode, isAncestorDirectory, isInLatestSnapshot, isQuotaSet, setAccessTime, setModificationTime, setParent, setParentReference, shouldRecordInSrcSnapshot, toDetailString, toString
public static final Comparator<INodeReference.WithName> WITHNAME_COMPARATOR
public INodeReference.WithCount(INodeReference parent, INode referred)
public int getReferenceCount()
public void addReference(INodeReference ref)
public void removeReference(INodeReference ref)
Copyright © 2013 Apache Software Foundation. All rights reserved.