Package | Description |
---|---|
alluxio.collections | |
alluxio.master | |
alluxio.master.file.meta | |
alluxio.master.journal | |
alluxio.resource |
Modifier and Type | Method and Description |
---|---|
LockResource |
LockPool.get(K key,
LockMode mode)
Locks the specified key in the specified mode.
|
Modifier and Type | Method and Description |
---|---|
Optional<LockResource> |
LockPool.tryGet(K key,
LockMode mode)
Attempts to take a lock on the given key.
|
Modifier and Type | Method and Description |
---|---|
LockResource |
StateLockManager.lockExclusive(StateLockOptions lockOptions)
Locks the state exclusively.
|
LockResource |
StateLockManager.lockShared()
Locks the state shared.
|
Modifier and Type | Method and Description |
---|---|
LockResource |
InodeLockManager.lockEdge(Edge edge,
LockMode mode)
Acquires an edge lock.
|
LockResource |
InodeLockManager.lockInode(InodeView inode,
LockMode mode)
Acquires an inode lock.
|
LockResource |
InodeLockManager.lockUpdate(long inodeId)
Acquires the lock for modifying an inode's last modified time or size.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
StateChangeJournalContext(JournalContext journalContext,
LockResource stateLockResource)
Constructs a
StateChangeJournalContext . |
Modifier and Type | Class and Description |
---|---|
class |
RefCountLockResource
Reference counted Lock resource, automatically unlocks and decrements the reference count.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LockResource.hasSameLock(LockResource other)
Returns true if the other
LockResource contains the same lock. |
Copyright © 2023. All Rights Reserved.