@InterfaceAudience.Private public abstract class INodeWithAdditionalFields extends INode implements LightWeightGSet.LinkedElement
INode with additional fields including id, name, permission,
access time and modification time.INode.BlocksMapUpdateInfoINodeAttributes.SnapshotCopy| Modifier and Type | Method and Description |
|---|---|
short |
getFsPermissionShort() |
long |
getId()
Get inode id
|
byte[] |
getLocalNameBytes() |
LightWeightGSet.LinkedElement |
getNext()
Get the next element.
|
long |
getPermissionLong() |
void |
setAccessTime(long accessTime)
Set last access time of inode.
|
void |
setLocalName(byte[] name)
Set local file name
|
void |
setModificationTime(long modificationTime)
Set the last modification time of inode.
|
void |
setNext(LightWeightGSet.LinkedElement next)
Set the next element.
|
INode |
updateModificationTime(long mtime,
Snapshot latest,
INodeMap inodeMap)
Update modification time if it is larger than the current value.
|
addSpaceConsumed, asDirectory, asFile, asReference, asSymlink, cleanSubtree, clear, compareTo, computeContentSummary, computeContentSummary, computeQuotaUsage, computeQuotaUsage, computeQuotaUsage, destroyAndCollectBlocks, dumpTreeRecursively, dumpTreeRecursively, dumpTreeRecursively, equals, getAccessTime, getDsQuota, getFsPermission, getFullPathName, getGroupName, getKey, getLocalName, getModificationTime, getNsQuota, getObjectString, getParent, getParentReference, getParentString, getSnapshotINode, getUserName, hashCode, isAncestorDirectory, isDirectory, isFile, isInLatestSnapshot, isQuotaSet, isReference, isSymlink, setAccessTime, setModificationTime, setParent, setParentReference, shouldRecordInSrcSnapshot, toDetailString, toStringpublic void setNext(LightWeightGSet.LinkedElement next)
LightWeightGSet.LinkedElementsetNext in interface LightWeightGSet.LinkedElementpublic LightWeightGSet.LinkedElement getNext()
LightWeightGSet.LinkedElementgetNext in interface LightWeightGSet.LinkedElementpublic final byte[] getLocalNameBytes()
getLocalNameBytes in interface INodeAttributespublic final void setLocalName(byte[] name)
INodesetLocalName in class INodepublic final short getFsPermissionShort()
getFsPermissionShort in interface INodeAttributespublic long getPermissionLong()
getPermissionLong in interface INodeAttributespublic final INode updateModificationTime(long mtime, Snapshot latest, INodeMap inodeMap) throws QuotaExceededException
updateModificationTime in class INodeQuotaExceededExceptionpublic final void setModificationTime(long modificationTime)
INodesetModificationTime in class INodepublic final void setAccessTime(long accessTime)
setAccessTime in class INodeCopyright © 2013 Apache Software Foundation. All rights reserved.