Package | Description |
---|---|
alluxio.master.file | |
alluxio.master.file.meta |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPermissionChecker.checkParentPermission(Mode.Bits bits,
LockedInodePath inodePath) |
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.checkPermission(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.checkSetAttributePermission(LockedInodePath inodePath,
boolean superuserRequired,
boolean ownerRequired,
boolean writeRequired) |
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 |
DefaultFileSystemMaster.deleteAndJournal(RpcContext rpcContext,
LockedInodePath inodePath,
DeleteOptions deleteOptions)
Deletes a given path.
|
Mode.Bits |
DefaultPermissionChecker.getPermission(LockedInodePath inodePath) |
Mode.Bits |
PermissionChecker.getPermission(LockedInodePath inodePath)
Gets the permission to access inodePath for the current client user.
|
Constructor and Description |
---|
SafeUfsDeleter(MountTable mountTable,
List<Pair<AlluxioURI,LockedInodePath>> inodes,
DeleteOptions deleteOptions)
Creates a new instance of
SafeUfsDeleter . |
Modifier and Type | Class and Description |
---|---|
class |
MutableLockedInodePath
This class represents an
LockedInodePath , where the list of inodes can be extended to
gather additional inodes along the path. |
Modifier and Type | Method and Description |
---|---|
LockedInodePath |
LockedInodePath.createTempPathForChild(String childName)
Constructs a temporary
LockedInodePath from an existing LockedInodePath , for
a direct child of the existing path. |
LockedInodePath |
LockedInodePath.createTempPathForExistingChild(Inode<?> child,
InodeTree.LockMode lockMode)
Constructs a temporary
LockedInodePath from an existing LockedInodePath , for
a direct child of the existing path. |
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.
|
LockedInodePath |
InodeTree.lockDescendantPath(LockedInodePath inodePath,
InodeTree.LockMode lockMode,
AlluxioURI descendantUri)
Locks from a specific point in the tree to the descendant, and return a lockedInodePath.
|
LockedInodePath |
InodeTree.lockFullInodePath(AlluxioURI path,
InodeTree.LockMode lockMode)
Locks existing inodes on the specified path, in the specified
InodeTree.LockMode . |
LockedInodePath |
InodeTree.lockFullInodePath(long id,
InodeTree.LockMode lockMode)
Locks existing inodes on the path to the inode specified by an id, in the specified
InodeTree.LockMode . |
LockedInodePath |
InodeTree.lockInodePath(AlluxioURI path,
InodeTree.LockMode lockMode)
Locks existing inodes on the specified path, in the specified
InodeTree.LockMode . |
Modifier and Type | Method and Description |
---|---|
List<LockedInodePath> |
LockedInodePathList.getInodePathList()
get the associated inodePathList.
|
Modifier and Type | Method and Description |
---|---|
InodeTree.CreatePathResult |
InodeTree.createPath(RpcContext rpcContext,
LockedInodePath inodePath,
CreatePathOptions<?> options)
Creates a file or directory at path.
|
void |
InodeTree.deleteInode(RpcContext rpcContext,
LockedInodePath inodePath,
long opTimeMs,
DeleteOptions deleteOptions)
Deletes a single inode from the inode tree by removing it from the parent inode.
|
void |
InodeTree.ensureFullInodePath(LockedInodePath inodePath,
InodeTree.LockMode lockMode)
Attempts to extend an existing
LockedInodePath to reach the target inode (the last
inode for the full path). |
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.
|
LockedInodePath |
InodeTree.lockDescendantPath(LockedInodePath inodePath,
InodeTree.LockMode lockMode,
AlluxioURI descendantUri)
Locks from a specific point in the tree to the descendant, and return a lockedInodePath.
|
LockedInodePathList |
InodeTree.lockDescendants(LockedInodePath inodePath,
InodeTree.LockMode lockMode)
Locks all descendants of a particular
LockedInodePath . |
long |
InodeTree.reinitializeFile(LockedInodePath inodePath,
long blockSizeBytes,
long ttl,
TtlAction ttlAction)
Reinitializes the block size and TTL of an existing open file.
|
void |
InodePathPair.setFirst(LockedInodePath first) |
void |
InodeTree.setPinned(LockedInodePath inodePath,
boolean pinned)
Sets the pinned state of an inode.
|
void |
InodeTree.setPinned(LockedInodePath inodePath,
boolean pinned,
long opTimeMs)
Sets the pinned state of an inode.
|
void |
InodePathPair.setSecond(LockedInodePath second) |
Constructor and Description |
---|
MutableLockedInodePath(AlluxioURI descendantUri,
LockedInodePath lockedInodePath,
InodeLockList descendants)
Creates an instance of
MutableLockedInodePath . |
Constructor and Description |
---|
LockedInodePathList(List<LockedInodePath> inodePathList)
Creates a new instance of
LockedInodePathList . |
Copyright © 2023. All Rights Reserved.