| Package | Description |
|---|---|
| alluxio.master.file | |
| alluxio.master.file.meta |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionChecker.checkParentPermission(Mode.Bits bits,
LockedInodePath inodePath)
Checks whether a user has permission to perform a specific action on the parent of the given
path; if parent directory does not exist, treats the closest ancestor directory of the path as
its parent and checks permission on it.
|
void |
DefaultPermissionChecker.checkParentPermission(Mode.Bits bits,
LockedInodePath inodePath) |
void |
PermissionChecker.checkPermission(Mode.Bits bits,
LockedInodePath inodePath)
Checks whether a user has permission to perform a specific action on a path.
|
void |
DefaultPermissionChecker.checkPermission(Mode.Bits bits,
LockedInodePath inodePath) |
void |
PermissionChecker.checkSetAttributePermission(LockedInodePath inodePath,
boolean superuserRequired,
boolean ownerRequired,
boolean writeRequired)
Checks whether a user has permission to edit the attribute of a given path.
|
void |
DefaultPermissionChecker.checkSetAttributePermission(LockedInodePath inodePath,
boolean superuserRequired,
boolean ownerRequired,
boolean writeRequired) |
void |
DefaultFileSystemMaster.deleteInternal(RpcContext rpcContext,
LockedInodePath inodePath,
DeleteContext deleteContext)
Implements file deletion.
|
Mode.Bits |
PermissionChecker.getPermission(LockedInodePath inodePath)
Gets the permission to access inodePath for the current client user.
|
Mode.Bits |
DefaultPermissionChecker.getPermission(LockedInodePath inodePath) |
| Constructor and Description |
|---|
SafeUfsDeleter(MountTable mountTable,
ReadOnlyInodeStore inodeStore,
java.util.List<Pair<AlluxioURI,LockedInodePath>> inodes,
DeletePOptions deleteOptions)
Creates a new instance of
SafeUfsDeleter. |
| Modifier and Type | Method and Description |
|---|---|
LockedInodePath |
LockedInodePath.lockChild(Inode child,
InodeTree.LockPattern lockPattern)
Returns a new locked inode path composed of the current path plus the child inode.
|
LockedInodePath |
LockedInodePath.lockChild(Inode child,
InodeTree.LockPattern lockPattern,
java.lang.String[] childComponentsHint)
Efficient version of
#lockChild(Inode, LockPattern) for when the child path
components are already known. |
LockedInodePath |
LockedInodePath.lockDescendant(AlluxioURI descendantUri,
InodeTree.LockPattern lockPattern)
Locks a descendant of the current path and returns a new locked inode path.
|
LockedInodePath |
LockedInodePath.lockFinalEdgeWrite()
Returns a copy of the path with the final edge write locked.
|
LockedInodePath |
InodeTree.lockFullInodePath(AlluxioURI uri,
InodeTree.LockPattern lockPattern)
Locks a path and throws an exception if the path does not exist.
|
LockedInodePath |
InodeTree.lockFullInodePath(long id,
InodeTree.LockPattern lockPattern)
Locks a path and throws an exception if the path does not exist.
|
LockedInodePath |
InodeTree.lockInodePath(AlluxioURI uri,
InodeTree.LockPattern lockPattern)
Locks existing inodes on the specified path, in the specified
InodeTree.LockPattern. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<LockedInodePath> |
LockedInodePathList.getInodePathList()
get the associated inodePathList.
|
java.util.Iterator<LockedInodePath> |
LockedInodePathList.iterator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Inode> |
InodeTree.createPath(RpcContext rpcContext,
LockedInodePath inodePath,
CreatePathContext<?,?> context)
Creates a file or directory at path.
|
void |
InodeTree.deleteInode(RpcContext rpcContext,
LockedInodePath inodePath,
long opTimeMs)
Deletes a single inode from the inode tree by removing it from the parent inode.
|
void |
InodeTree.ensureFullInodePath(LockedInodePath inodePath)
Attempts to extend an existing
LockedInodePath to reach the target inode (the last
inode for the full path). |
LockedInodePathList |
InodeTree.getDescendants(LockedInodePath inodePath)
Returns
LockedInodePaths for all descendants of inodePath. |
void |
InodePathPair.setFirst(LockedInodePath first) |
void |
InodeTree.setPinned(RpcContext rpcContext,
LockedInodePath inodePath,
boolean pinned,
java.util.List<java.lang.String> mediumTypes,
long opTimeMs)
Sets the pinned state of an inode.
|
void |
InodeTree.setReplication(RpcContext rpcContext,
LockedInodePath inodePath,
java.lang.Integer replicationMax,
java.lang.Integer replicationMin,
long opTimeMs)
Sets the min and/or max replication level of an inode.
|
void |
InodePathPair.setSecond(LockedInodePath second) |
| Constructor and Description |
|---|
LockedInodePathList(java.util.List<LockedInodePath> inodePathList)
Creates a new instance of
LockedInodePathList. |
Copyright © 2019. All Rights Reserved.