Package | Description |
---|---|
alluxio.worker.block |
Modifier and Type | Method and Description |
---|---|
void |
BlockWorker.accessBlock(long sessionId,
long blockId)
Access the block for a given session.
|
void |
BlockWorker.closeUfsBlock(long sessionId,
long blockId)
Closes a UFS block for a client session.
|
BlockReader |
BlockStore.createBlockReader(long sessionId,
long blockId,
long lockId)
Creates a reader of an existing block to read data from this block.
|
BlockMeta |
BlockStore.getBlockMeta(long sessionId,
long blockId,
long lockId)
Gets the metadata of a specific block from local storage.
|
BlockWriter |
BlockStore.getBlockWriter(long sessionId,
long blockId)
Creates a writer to write data to a temp block.
|
long |
BlockStore.lockBlock(long sessionId,
long blockId)
Locks an existing block and guards subsequent reads on this block.
|
long |
BlockWorker.lockBlock(long sessionId,
long blockId)
Obtains a read lock the block.
|
void |
BlockWorker.moveBlock(long sessionId,
long blockId,
String tierAlias)
Moves a block from its current location to a target location, currently only tier level moves
are supported.
|
String |
BlockWorker.readBlock(long sessionId,
long blockId,
long lockId)
Gets the path to the block file in local storage.
|
BlockReader |
BlockWorker.readBlockRemote(long sessionId,
long blockId,
long lockId)
Gets the block reader for the block.
|
BlockReader |
BlockWorker.readUfsBlock(long sessionId,
long blockId,
long offset)
Gets a block reader to read a UFS block.
|
void |
BlockStore.unlockBlock(long lockId)
Releases an acquired block lock based on a lockId (returned by
BlockStore.lockBlock(long, long) . |
void |
BlockWorker.unlockBlock(long lockId)
Releases the lock with the specified lock id.
|
Copyright © 2023. All Rights Reserved.