Package | Description |
---|---|
alluxio.collections | |
alluxio.master | |
alluxio.master.block.meta | |
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 |
---|---|
LockResource |
StateLockManager.lockExclusive(StateLockOptions lockOptions)
Locks the state exclusively.
|
LockResource |
StateLockManager.lockExclusive(StateLockOptions lockOptions,
RetryUtils.RunnableThrowsIOException beforeAttempt)
Locks the state exclusively.
|
LockResource |
StateLockManager.lockShared()
Locks the state shared.
|
Modifier and Type | Method and Description |
---|---|
LockResource |
MasterWorkerInfo.lockWorkerMeta(EnumSet<WorkerMetaLockSection> lockTypes,
boolean isShared)
Locks the corresponding locks on the metadata groups.
|
Modifier and Type | Method and Description |
---|---|
LockResource |
InodeLockManager.lockUpdate(long inodeId)
Acquires the lock for modifying an inode's last modified time or size.
|
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.
|
class |
RWLockResource
The
RWLockResource is an extension of the LockResource which allows for
downgrading of locks. |
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.