Package | Description |
---|---|
alluxio.worker.block |
Modifier and Type | Method and Description |
---|---|
static BlockLockType |
BlockLockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockLockType[] |
BlockLockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BlockLock |
BlockLockManager.acquireBlockLock(long sessionId,
long blockId,
BlockLockType blockLockType)
Locks a block.
|
Optional<BlockLock> |
BlockLockManager.tryAcquireBlockLock(long sessionId,
long blockId,
BlockLockType blockLockType,
long time,
TimeUnit unit)
Tries to lock a block within the given time.
|
Copyright © 2023. All Rights Reserved.