Package | Description |
---|---|
alluxio.worker.block |
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 |
---|---|
void |
BlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions)
Moves an existing block to a new location.
|
Copyright © 2023. All Rights Reserved.