Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
Optional<TempBlockMeta> |
BlockStore.getTempBlockMeta(long blockId)
Gets the temp metadata of a specific block from local storage.
|
Modifier and Type | Method and Description |
---|---|
TempBlockMeta |
DirView.createTempBlockMeta(long sessionId,
long blockId,
long initialBlockSize)
Creates a
TempBlockMeta given sessionId, blockId, and initialBlockSize. |
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 . |
Optional<TempBlockMeta> |
StorageDir.getTempBlockMeta(long blockId)
Gets the
TempBlockMeta from this storage dir by its block id. |
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.
|
Copyright © 2023. All Rights Reserved.