public class InodeFile extends Inode implements InodeFileView
| Constructor and Description |
|---|
InodeFile(InodeFileView delegate) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBlockContainerId() |
long |
getBlockIdByIndex(int blockIndex)
Gets the block id for a given index.
|
java.util.List<java.lang.Long> |
getBlockIds() |
long |
getBlockSizeBytes() |
long |
getLength() |
long |
getPersistJobId() |
int |
getReplicationDurable() |
int |
getReplicationMax() |
int |
getReplicationMin() |
long |
getShouldPersistTime() |
java.lang.String |
getTempUfsPath() |
boolean |
isCacheable() |
boolean |
isCompleted() |
asDirectory, asFile, checkPermission, equals, generateClientFileInfo, getACL, getCreationTimeMs, getDefaultACL, getGroup, getId, getLastAccessTimeMs, getLastModificationTimeMs, getMediumTypes, getMode, getName, getOwner, getParentId, getPermission, getPersistenceState, getTtl, getTtlAction, getUfsFingerprint, getXAttr, hashCode, isDeleted, isDirectory, isFile, isPersisted, isPinned, toJournalEntry, toProto, wrapclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcheckPermission, compareTo, generateClientFileInfo, getACL, getCreationTimeMs, getDefaultACL, getGroup, getId, getLastAccessTimeMs, getLastModificationTimeMs, getMediumTypes, getMode, getName, getOwner, getParentId, getPermission, getPersistenceState, getTtl, getTtlAction, getUfsFingerprint, getXAttr, isDeleted, isDirectory, isFile, isPersisted, isPinned, toPrototoJournalEntrypublic InodeFile(InodeFileView delegate)
delegate - the inode to delegate topublic long getPersistJobId()
getPersistJobId in interface InodeFileViewpublic long getShouldPersistTime()
getShouldPersistTime in interface InodeFileViewpublic int getReplicationDurable()
getReplicationDurable in interface InodeFileViewpublic int getReplicationMax()
getReplicationMax in interface InodeFileViewpublic int getReplicationMin()
getReplicationMin in interface InodeFileViewpublic java.lang.String getTempUfsPath()
getTempUfsPath in interface InodeFileViewpublic java.util.List<java.lang.Long> getBlockIds()
getBlockIds in interface InodeFileViewpublic long getBlockSizeBytes()
getBlockSizeBytes in interface InodeFileViewpublic long getLength()
getLength in interface InodeFileViewpublic long getBlockContainerId()
getBlockContainerId in interface InodeFileViewpublic long getBlockIdByIndex(int blockIndex)
throws BlockInfoException
InodeFileViewgetBlockIdByIndex in interface InodeFileViewblockIndex - the index to get the block id forBlockInfoException - if the index of the block is out of rangepublic boolean isCacheable()
isCacheable in interface InodeFileViewpublic boolean isCompleted()
isCompleted in interface InodeFileViewCopyright © 2020. All Rights Reserved.