Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
BlockMeta |
BlockMetadataEvictorView.getBlockMeta(long blockId)
Returns null if block is pinned or currently being locked, otherwise returns
BlockMetadataManager.getBlockMeta(long) . |
BlockMeta |
BlockMetadataManager.getBlockMeta(long blockId)
Gets the metadata of a block given its block id.
|
BlockMeta |
DefaultBlockWorker.getBlockMeta(long sessionId,
long blockId,
long lockId) |
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 |
BlockStore.getBlockMeta(long sessionId,
long blockId,
long lockId)
Gets the metadata of a specific block from local storage.
|
BlockMeta |
DefaultBlockWorker.getVolatileBlockMeta(long blockId) |
BlockMeta |
TieredBlockStore.getVolatileBlockMeta(long blockId) |
BlockMeta |
BlockWorker.getVolatileBlockMeta(long blockId)
Gets the metadata of a block given its blockId or throws IOException.
|
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.
|
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.