public class StoreBlockReader extends LocalFileBlockReader
BlockStreamTracker
.BlockClient.Type
Constructor and Description |
---|
StoreBlockReader(long sessionId,
BlockMeta blockMeta)
Creates new block reader for block store.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
decreaseUsageCount, getChannel, getFilePath, getLength, getUsageCount, increaseUsageCount, isClosed, read, transferTo
toString
public StoreBlockReader(long sessionId, BlockMeta blockMeta) throws IOException
sessionId
- session idblockMeta
- block metaIOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class LocalFileBlockReader
IOException
Copyright © 2023. All Rights Reserved.