Package | Description |
---|---|
alluxio.collections | |
alluxio.concurrent | |
alluxio.master.file.meta |
Modifier and Type | Method and Description |
---|---|
LockResource |
LockPool.get(K key,
LockMode mode)
Locks the specified key in the specified mode.
|
Optional<LockResource> |
LockPool.tryGet(K key,
LockMode mode)
Attempts to take a lock on the given key.
|
Modifier and Type | Method and Description |
---|---|
static LockMode |
LockMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockMode[] |
LockMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
SimpleInodeLockList.getLockMode() |
LockMode |
CompositeInodeLockList.getLockMode() |
LockMode |
InodeLockList.getLockMode() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleInodeLockList.downgradeEdgeToInode(Inode inode,
LockMode mode) |
void |
CompositeInodeLockList.downgradeEdgeToInode(Inode inode,
LockMode mode) |
void |
InodeLockList.downgradeEdgeToInode(Inode inode,
LockMode mode)
Downgrades from edge write-locking to inode write-locking.
|
LockResource |
InodeLockManager.lockEdge(Edge edge,
LockMode mode)
Acquires an edge lock.
|
void |
SimpleInodeLockList.lockEdge(Inode lastInode,
String childName,
LockMode mode) |
void |
CompositeInodeLockList.lockEdge(Inode inode,
String childName,
LockMode mode) |
void |
InodeLockList.lockEdge(Inode inode,
String childName,
LockMode mode)
Locks an edge leading out of the last inode in the list.
|
void |
SimpleInodeLockList.lockInode(Inode inode,
LockMode mode) |
void |
CompositeInodeLockList.lockInode(Inode inode,
LockMode mode) |
void |
InodeLockList.lockInode(Inode inode,
LockMode mode)
Locks the given inode and adds it to the lock list.
|
LockResource |
InodeLockManager.lockInode(InodeView inode,
LockMode mode)
Acquires an inode lock.
|
void |
SimpleInodeLockList.lockRootEdge(LockMode mode) |
void |
CompositeInodeLockList.lockRootEdge(LockMode mode) |
void |
InodeLockList.lockRootEdge(LockMode mode)
Locks the root edge in the specified mode.
|
Optional<LockResource> |
InodeLockManager.tryLockEdge(Edge edge,
LockMode mode)
Attempts to acquire an edge lock.
|
Optional<LockResource> |
InodeLockManager.tryLockInode(Long inodeId,
LockMode mode)
Attempts to acquire an inode lock.
|
Copyright © 2023. All Rights Reserved.