Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
TempBlockMeta |
TieredBlockStore.createBlock(long sessionId,
long blockId,
BlockStoreLocation location,
long initialBlockSize) |
TempBlockMeta |
BlockStore.createBlock(long sessionId,
long blockId,
BlockStoreLocation location,
long initialBlockSize)
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.
|
TempBlockMeta |
BlockMetadataManager.getTempBlockMeta(long blockId)
Gets the metadata of a temp block.
|
TempBlockMeta |
TieredBlockStore.getTempBlockMeta(long sessionId,
long blockId) |
TempBlockMeta |
BlockStore.getTempBlockMeta(long sessionId,
long blockId)
Gets the temp metadata of a specific block from local storage.
|
TempBlockMeta |
BlockMetadataManager.getTempBlockMetaOrNull(long blockId)
Gets the metadata of a temp block.
|
Modifier and Type | Method and Description |
---|---|
List<TempBlockMeta> |
BlockMetadataManager.getSessionTempBlocks(long sessionId)
Gets all the temporary blocks associated with a session, empty list is returned if the session
has no temporary blocks.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockMetadataManager.abortTempBlockMeta(TempBlockMeta tempBlockMeta)
Aborts a temp block.
|
void |
BlockMetadataManager.addTempBlockMeta(TempBlockMeta tempBlockMeta)
Adds a temp block.
|
void |
BlockMetadataManager.commitTempBlockMeta(TempBlockMeta tempBlockMeta)
Commits a temp block.
|
BlockMeta |
BlockMetadataManager.moveBlockMeta(BlockMeta blockMeta,
TempBlockMeta tempBlockMeta)
Moves an existing block to another location currently hold by a temp block.
|
void |
BlockMetadataManager.resizeTempBlockMeta(TempBlockMeta tempBlockMeta,
long newSize)
Modifies the size of a temp block.
|
Modifier and Type | Method and Description |
---|---|
TempBlockMeta |
StorageDirView.createTempBlockMeta(long sessionId,
long blockId,
long initialBlockSize)
Creates a
TempBlockMeta given sessionId, blockId, and initialBlockSize. |
TempBlockMeta |
StorageDir.getTempBlockMeta(long blockId)
Gets the
BlockMeta from this storage dir by its block id. |
Modifier and Type | Method and Description |
---|---|
List<TempBlockMeta> |
StorageDir.getSessionTempBlocks(long sessionId)
Gets the temporary blocks associated with a session in this
StorageDir , an empty list
is returned if the session has no temporary blocks in this StorageDir . |
Modifier and Type | Method and Description |
---|---|
void |
StorageDir.addTempBlockMeta(TempBlockMeta tempBlockMeta)
Adds the metadata of a new block into this storage dir.
|
void |
StorageDir.removeTempBlockMeta(TempBlockMeta tempBlockMeta)
Removes a temp block from this storage dir.
|
void |
StorageDir.resizeTempBlockMeta(TempBlockMeta tempBlockMeta,
long newSize)
Changes the size of a temp block.
|
Constructor and Description |
---|
BlockMeta(TempBlockMeta tempBlock)
Creates a new instance of
BlockMeta from TempBlockMeta . |
Copyright © 2023. All Rights Reserved.