Package | Description |
---|---|
alluxio.master.file.meta |
Modifier and Type | Field and Description |
---|---|
protected InodeTree.LockMode |
LockedInodePath.mLockMode |
Modifier and Type | Field and Description |
---|---|
protected List<InodeTree.LockMode> |
InodeLockList.mLockModes |
Modifier and Type | Method and Description |
---|---|
InodeTree.LockMode |
LockedInodePath.getLockMode() |
InodeTree.LockMode |
LockingScheme.getMode() |
static InodeTree.LockMode |
InodeTree.LockMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InodeTree.LockMode[] |
InodeTree.LockMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
LockedInodePath |
LockedInodePath.createTempPathForExistingChild(Inode<?> child,
InodeTree.LockMode lockMode)
Constructs a temporary
LockedInodePath from an existing LockedInodePath , for
a direct child of the existing path. |
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 . |
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 . |
InodePathPair |
InodeTree.lockInodePathPair(AlluxioURI path1,
InodeTree.LockMode lockMode1,
AlluxioURI path2,
InodeTree.LockMode lockMode2)
Locks existing inodes on the two specified paths.
|
Constructor and Description |
---|
LockingScheme(AlluxioURI path,
InodeTree.LockMode desiredLockMode,
boolean shouldSync)
Constructs a
LockingScheme . |
MutableLockedInodePath(AlluxioURI uri,
InodeLockList lockList,
InodeTree.LockMode lockMode)
Creates an instance of
MutableLockedInodePath . |
MutableLockedInodePath(AlluxioURI uri,
InodeLockList lockList,
String[] pathComponents,
InodeTree.LockMode lockMode)
Creates an instance of
MutableLockedInodePath . |
Copyright © 2023. All Rights Reserved.