Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
void |
TieredBlockStore.abortBlock(long sessionId,
long blockId) |
void |
DefaultBlockWorker.abortBlock(long sessionId,
long blockId) |
void |
BlockStore.abortBlock(long sessionId,
long blockId)
Aborts a temporary block.
|
void |
BlockWorker.abortBlock(long sessionId,
long blockId)
Aborts the temporary block created by the session.
|
boolean |
UnderFileSystemBlockStore.acquireAccess(long sessionId,
long blockId,
Protocol.OpenUfsBlockOptions options)
Acquires access for a UFS block given a
UnderFileSystemBlockMeta and the limit on
the maximum concurrency on the block. |
void |
BlockMetadataManager.addTempBlockMeta(TempBlockMeta tempBlockMeta)
Adds a temp block.
|
void |
DefaultBlockWorker.closeUfsBlock(long sessionId,
long blockId)
Closes a UFS block for a client session.
|
void |
TieredBlockStore.commitBlock(long sessionId,
long blockId,
boolean pinOnCreate) |
void |
DefaultBlockWorker.commitBlock(long sessionId,
long blockId,
boolean pinOnCreate) |
void |
BlockStore.commitBlock(long sessionId,
long blockId,
boolean pinOnCreate)
Commits a temporary block to the local store.
|
void |
BlockWorker.commitBlock(long sessionId,
long blockId,
boolean pinOnCreate)
Commits a block to Alluxio managed space.
|
long |
TieredBlockStore.commitBlockLocked(long sessionId,
long blockId,
boolean pinOnCreate) |
long |
BlockStore.commitBlockLocked(long sessionId,
long blockId,
boolean pinOnCreate)
Similar to
BlockStore.commitBlock(long, long, boolean) . |
void |
BlockMetadataManager.commitTempBlockMeta(TempBlockMeta tempBlockMeta)
Commits a temp block.
|
TempBlockMeta |
TieredBlockStore.createBlock(long sessionId,
long blockId,
AllocateOptions options) |
TempBlockMeta |
BlockStore.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.
|
String |
DefaultBlockWorker.createBlock(long sessionId,
long blockId,
int tier,
String medium,
long initialBytes) |
String |
BlockWorker.createBlock(long sessionId,
long blockId,
int tier,
String medium,
long initialBytes)
Creates a block in Alluxio managed space.
|
BlockWriter |
DefaultBlockWorker.createBlockWriter(long sessionId,
long blockId) |
BlockWriter |
BlockWorker.createBlockWriter(long sessionId,
long blockId)
Creates a
BlockWriter for an existing temporary block which is already created by
BlockWorker.createBlock(long, long, int, java.lang.String, long) . |
BlockWriter |
TieredBlockStore.getBlockWriter(long sessionId,
long blockId) |
BlockWriter |
BlockStore.getBlockWriter(long sessionId,
long blockId)
Creates a writer to write data to a temp block.
|
void |
TieredBlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions) |
void |
BlockStore.moveBlock(long sessionId,
long blockId,
AllocateOptions moveOptions)
Moves an existing block to a new location.
|
void |
TieredBlockStore.moveBlock(long sessionId,
long blockId,
BlockStoreLocation oldLocation,
AllocateOptions moveOptions) |
void |
BlockStore.moveBlock(long sessionId,
long blockId,
BlockStoreLocation oldLocation,
AllocateOptions moveOptions)
Moves an existing block to a new location.
|
void |
DefaultBlockWorker.moveBlock(long sessionId,
long blockId,
int tier) |
void |
BlockWorker.moveBlock(long sessionId,
long blockId,
int tier)
Moves a block from its current location to a target location, currently only tier level moves
are supported.
|
BlockMeta |
BlockMetadataManager.moveBlockMeta(BlockMeta blockMeta,
BlockStoreLocation newLocation)
Deprecated.
As of version 0.8. Use
BlockMetadataManager.moveBlockMeta(BlockMeta, TempBlockMeta) instead. |
BlockMeta |
BlockMetadataManager.moveBlockMeta(BlockMeta blockMeta,
TempBlockMeta tempBlockMeta)
Moves an existing block to another location currently hold by a temp block.
|
void |
DefaultBlockWorker.moveBlockToMedium(long sessionId,
long blockId,
String mediumType) |
void |
BlockWorker.moveBlockToMedium(long sessionId,
long blockId,
String mediumType)
Moves a block from its current location to a target location, with a specific medium type.
|
boolean |
DefaultBlockWorker.openUfsBlock(long sessionId,
long blockId,
Protocol.OpenUfsBlockOptions options)
Opens a UFS block.
|
void |
BlockMetadataManager.swapBlocks(BlockMeta blockMeta1,
BlockMeta blockMeta2)
Swaps location of two blocks in metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultStorageDir.addBlockMeta(BlockMeta blockMeta) |
void |
StorageDir.addBlockMeta(BlockMeta blockMeta)
Adds the metadata of a new block into this storage dir.
|
void |
DefaultStorageDir.addTempBlockMeta(TempBlockMeta tempBlockMeta) |
void |
StorageDir.addTempBlockMeta(TempBlockMeta tempBlockMeta)
Adds the metadata of a new block into this storage dir.
|
static StorageDir |
DefaultStorageDir.newStorageDir(StorageTier tier,
int dirIndex,
long capacityBytes,
long reservedBytes,
String dirPath,
String dirMedium)
Factory method to create
StorageDir . |
static StorageTier |
DefaultStorageTier.newStorageTier(String tierAlias,
boolean isMultiTier)
Factory method to create
StorageTier . |
Copyright © 2023. All Rights Reserved.