Package | Description |
---|---|
alluxio.master.file | |
alluxio.master.file.meta |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultInodePermissionChecker.checkPermission(String user,
List<String> groups,
Inode<?> inode,
Mode.Bits permission) |
boolean |
InodePermissionChecker.checkPermission(String user,
List<String> groups,
Inode<?> inode,
Mode.Bits permission)
Checks whether user has the specified permission on the file or directory at path.
|
void |
NoopUfsDeleter.delete(AlluxioURI alluxioUri,
Inode inode) |
void |
UfsDeleter.delete(AlluxioURI alluxioUri,
Inode inode)
Deletes a path if not covered by a recursive delete.
|
void |
SafeUfsDeleter.delete(AlluxioURI alluxioUri,
Inode inode) |
Mode.Bits |
DefaultInodePermissionChecker.getPermission(String user,
List<String> groups,
Inode<?> inode) |
Mode.Bits |
InodePermissionChecker.getPermission(String user,
List<String> groups,
Inode<?> inode)
Gets the permission the user has for the file or directory at path.
|
FileSystemMasterAuditContext |
FileSystemMasterAuditContext.setSrcInode(Inode srcInode)
Sets mSrcInode field.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultPermissionChecker.checkInodeList(String user,
List<String> groups,
Mode.Bits bits,
String path,
List<Inode<?>> inodeList,
boolean checkIsOwner)
This method provides basic permission checking logic on a list of inodes.
|
Modifier and Type | Class and Description |
---|---|
class |
InodeDirectory
Alluxio file system's directory representation in the file system master.
|
class |
InodeFile
Alluxio file system's file representation in the file system master.
|
Modifier and Type | Field and Description |
---|---|
protected List<Inode<?>> |
InodeLockList.mInodes |
Modifier and Type | Method and Description |
---|---|
Inode<?> |
LockedInodePath.getAncestorInode()
Returns the closest ancestor of the target inode (last inode in the full path).
|
Inode<?> |
InodeDirectory.getChild(String name) |
Inode<?> |
InodeDirectory.getChildReadLock(String name,
InodeLockList lockList) |
Inode<?> |
InodeDirectory.getChildWriteLock(String name,
InodeLockList lockList) |
Inode<?> |
LockedInodePath.getInode() |
Inode<?> |
LockedInodePath.getInodeOrNull() |
Inode |
LockedInodePath.getLastExistingInode() |
Inode |
LockedInodePath.getParentInodeOrNull() |
Modifier and Type | Method and Description |
---|---|
Set<Inode<?>> |
InodeDirectory.getChildren() |
List<Inode<?>> |
InodeTree.CreatePathResult.getCreated() |
List<Inode<?>> |
LockedInodePath.getInodeList() |
List<Inode<?>> |
CompositeInodeLockList.getInodes() |
Set<Inode<?>> |
TtlBucket.getInodes() |
List<Inode<?>> |
InodeLockList.getInodes() |
List<Inode<?>> |
InodeTree.CreatePathResult.getModified() |
Modifier and Type | Method and Description |
---|---|
boolean |
InodeDirectory.addChild(Inode<?> child)
Adds the given inode to the set of children.
|
void |
TtlBucket.addInode(Inode<?> inode)
Adds a inode to the bucket.
|
static UfsSyncUtils.SyncPlan |
UfsSyncUtils.computeSyncPlan(Inode inode,
Fingerprint ufsFingerprint,
boolean containsMountPoint)
Given an
Inode and UfsStatus , returns a UfsSyncUtils.SyncPlan describing how to
sync the inode with the ufs. |
LockedInodePath |
LockedInodePath.createTempPathForExistingChild(Inode<?> child,
InodeTree.LockMode lockMode)
Constructs a temporary
LockedInodePath from an existing LockedInodePath , for
a direct child of the existing path. |
AlluxioURI |
InodeTree.getPath(Inode<?> inode)
Returns the path for a particular inode.
|
static boolean |
UfsSyncUtils.inodeUfsIsContentSynced(Inode inode,
Fingerprint ufsFingerprint)
Returns true if the given inode's content is synced with the ufs status.
|
static boolean |
UfsSyncUtils.inodeUfsIsMetadataSynced(Inode inode,
Fingerprint ufsFingerprint)
Returns true if the given inode's metadata matches the ufs fingerprint.
|
void |
TtlBucketList.insert(Inode<?> inode)
Inserts an
Inode to the appropriate bucket where its ttl end time lies in the
bucket's interval, if no appropriate bucket exists, a new bucket will be created to contain
this inode, if ttl value is Constants.NO_TTL , the inode won't be inserted to any
buckets and nothing will happen. |
LockedInodePath |
InodeTree.lockChildPath(LockedInodePath inodePath,
InodeTree.LockMode lockMode,
Inode<?> childInode,
String[] pathComponents)
Lock from a specific poiint in the tree to the immediate child, and return a lockedInodePath.
|
void |
InodeLockList.lockRead(Inode<?> inode)
Locks the given inode in read mode, and adds it to this lock list.
|
void |
InodeLockList.lockReadAndCheckNameAndParent(Inode<?> inode,
Inode parent,
String name)
Locks the given inode in read mode, and adds it to this lock list.
|
void |
InodeLockList.lockReadAndCheckNameAndParent(Inode<?> inode,
Inode parent,
String name)
Locks the given inode in read mode, and adds it to this lock list.
|
void |
Inode.lockReadAndCheckNameAndParent(Inode parent,
String name)
Obtains a read lock on the inode.
|
void |
Inode.lockReadAndCheckParent(Inode parent)
Obtains a read lock on the inode.
|
void |
InodeLockList.lockReadAndCheckParent(Inode<?> inode,
Inode parent)
Locks the given inode in read mode, and adds it to this lock list.
|
void |
InodeLockList.lockReadAndCheckParent(Inode<?> inode,
Inode parent)
Locks the given inode in read mode, and adds it to this lock list.
|
void |
InodeLockList.lockWrite(Inode<?> inode)
Locks the given inode in write mode, and adds it to this lock list.
|
void |
InodeLockList.lockWriteAndCheckNameAndParent(Inode<?> inode,
Inode parent,
String name)
Locks the given inode in write mode, and adds it to this lock list.
|
void |
InodeLockList.lockWriteAndCheckNameAndParent(Inode<?> inode,
Inode parent,
String name)
Locks the given inode in write mode, and adds it to this lock list.
|
void |
Inode.lockWriteAndCheckNameAndParent(Inode parent,
String name)
Obtains a write lock on the inode.
|
void |
Inode.lockWriteAndCheckParent(Inode parent)
Obtains a write lock on the inode.
|
void |
InodeLockList.lockWriteAndCheckParent(Inode<?> inode,
Inode parent)
Locks the given inode in write mode, and adds it to this lock list.
|
void |
InodeLockList.lockWriteAndCheckParent(Inode<?> inode,
Inode parent)
Locks the given inode in write mode, and adds it to this lock list.
|
void |
TtlBucketList.remove(Inode<?> inode)
Removes a inode from the bucket containing it if the inode is in one of the buckets, otherwise,
do nothing.
|
boolean |
InodeDirectory.removeChild(Inode<?> child)
Removes the given inode from the directory.
|
void |
TtlBucket.removeInode(Inode<?> inode)
Removes a inode from the bucket.
|
Modifier and Type | Method and Description |
---|---|
void |
NoopUfsAbsentPathCache.process(AlluxioURI path,
List<Inode<?>> prefixInodes) |
void |
AsyncUfsAbsentPathCache.process(AlluxioURI path,
List<Inode<?>> prefixInodes) |
void |
UfsAbsentPathCache.process(AlluxioURI path,
List<Inode<?>> prefixInodes)
Processes the given path for the cache.
|
Copyright © 2023. All Rights Reserved.