Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.page |
Modifier and Type | Method and Description |
---|---|
static AllocateOptions |
AllocateOptions.forCreate(long sizeBytes,
BlockStoreLocation location)
Creates default allocation options for block create request.
|
static AllocateOptions |
AllocateOptions.forMove(BlockStoreLocation location)
Creates default allocation options for moving a block by a client request.
|
static AllocateOptions |
AllocateOptions.forRequestSpace(long sizeBytes,
BlockStoreLocation location)
Creates default allocation options for requesting more space for a block.
|
static AllocateOptions |
AllocateOptions.forTierMove(BlockStoreLocation location)
Creates default allocation options for moving a block during tier-move task.
|
AllocateOptions |
AllocateOptions.setEvictionAllowed(boolean evictionAllowed)
Sets value for whether eviction is allowed for allocation.
|
AllocateOptions |
AllocateOptions.setForceLocation(boolean forceLocation)
Sets value for whether to enforce location of allocation.
|
AllocateOptions |
AllocateOptions.setLocation(BlockStoreLocation location)
Sets the allocation location.
|
AllocateOptions |
AllocateOptions.setSize(long size)
Sets the allocation size.
|
AllocateOptions |
AllocateOptions.setUseReservedSpace(boolean useReservedSpace)
Sets value for whether this allocation can use reserved space.
|
Modifier and Type | Method and Description |
---|---|
TempBlockMeta |
TieredBlockStore.createBlock(long sessionId,
long blockId,
AllocateOptions options) |
TempBlockMeta |
LocalBlockStore.createBlock(long sessionId,
long blockId,
AllocateOptions options)
Creates the metadata of a new block and assigns a temporary path (e.g., a subdir of the final
location named after session id) to store its data.
|
void |
MonoBlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions) |
void |
TieredBlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions) |
void |
LocalBlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions)
Moves an existing block to a new location.
|
void |
BlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions)
Moves an existing block to a new location.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedBlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions) |
Copyright © 2023. All Rights Reserved.