Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.page |
Modifier and Type | Method and Description |
---|---|
BlockLock |
BlockLockManager.acquireBlockLock(long sessionId,
long blockId,
BlockLockType blockLockType)
Locks a block.
|
BlockLock |
TieredBlockStore.commitBlockLocked(long sessionId,
long blockId,
boolean pinOnCreate) |
BlockLock |
LocalBlockStore.commitBlockLocked(long sessionId,
long blockId,
boolean pinOnCreate)
Similar to
LocalBlockStore.commitBlock(long, long, boolean) . |
Modifier and Type | Method and Description |
---|---|
Optional<BlockLock> |
TieredBlockStore.pinBlock(long sessionId,
long blockId) |
Optional<BlockLock> |
LocalBlockStore.pinBlock(long sessionId,
long blockId)
Pins the block indicating subsequent access.
|
Optional<BlockLock> |
MonoBlockStore.pinBlock(long sessionId,
long blockId) |
Optional<BlockLock> |
BlockStore.pinBlock(long sessionId,
long blockId)
Pins the block indicating subsequent access.
|
Optional<BlockLock> |
BlockLockManager.tryAcquireBlockLock(long sessionId,
long blockId,
BlockLockType blockLockType,
long time,
TimeUnit unit)
Tries to lock a block within the given time.
|
Modifier and Type | Method and Description |
---|---|
void |
MonoBlockStore.unpinBlock(BlockLock lock) |
void |
BlockStore.unpinBlock(BlockLock lock)
Unpins an accessed block based on the id (returned by
BlockStore.pinBlock(long, long) ). |
Modifier and Type | Method and Description |
---|---|
Optional<BlockLock> |
PagedBlockStore.pinBlock(long sessionId,
long blockId) |
Modifier and Type | Method and Description |
---|---|
void |
PagedBlockStore.unpinBlock(BlockLock lock) |
Copyright © 2023. All Rights Reserved.