Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.io | |
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
BlockMeta |
BlockMetadataManager.getBlockMeta(long blockId)
Gets the metadata of a block given its block id.
|
BlockMeta |
BlockMetadataEvictorView.getBlockMeta(long blockId)
Returns null if block is pinned or currently being locked, otherwise returns
BlockMetadataManager.getBlockMeta(long) . |
BlockMeta |
TieredBlockStore.getBlockMeta(long sessionId,
long blockId,
long lockId) |
BlockMeta |
BlockWorker.getBlockMeta(long sessionId,
long blockId,
long lockId)
Gets the metadata of a specific block from local storage.
|
BlockMeta |
DefaultBlockWorker.getBlockMeta(long sessionId,
long blockId,
long lockId) |
BlockMeta |
BlockStore.getBlockMeta(long sessionId,
long blockId,
long lockId)
Gets the metadata of a specific block from local storage.
|
BlockMeta |
TieredBlockStore.getVolatileBlockMeta(long blockId) |
BlockMeta |
BlockWorker.getVolatileBlockMeta(long blockId)
Gets the metadata of a block given its blockId or throws IOException.
|
BlockMeta |
DefaultBlockWorker.getVolatileBlockMeta(long blockId) |
BlockMeta |
BlockStore.getVolatileBlockMeta(long blockId)
Gets the metadata of a block given its block id or throws
BlockDoesNotExistException . |
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
BlockMetadataManager.removeBlockMeta(BlockMeta block)
Removes the metadata of a specific block.
|
void |
BlockMetadataManager.swapBlocks(BlockMeta blockMeta1,
BlockMeta blockMeta2)
Swaps location of two blocks in metadata.
|
Constructor and Description |
---|
StoreBlockReader(long sessionId,
BlockMeta blockMeta)
Creates new block reader for block store.
|
Modifier and Type | Method and Description |
---|---|
BlockMeta |
StorageDir.getBlockMeta(long blockId)
Gets the
BlockMeta from this storage dir by its block id. |
Modifier and Type | Method and Description |
---|---|
List<BlockMeta> |
StorageDir.getBlocks()
Returns the list of blocks stored in this dir.
|
List<BlockMeta> |
StorageDirEvictorView.getEvictableBlocks()
Gets a filtered list of block metadata, for blocks that are neither pinned or being blocked.
|
Modifier and Type | Method and Description |
---|---|
void |
StorageDir.addBlockMeta(BlockMeta blockMeta)
Adds the metadata of a new block into this storage dir.
|
void |
StorageDir.removeBlockMeta(BlockMeta blockMeta)
Removes a block from this storage dir.
|
Copyright © 2023. All Rights Reserved.