@NotThreadSafe public final class BlockWorkerDataReader extends java.lang.Object implements DataReader
GrpcDataReader
except that all communication with the local worker is via internal method call
instead of external RPC frameworks.| Modifier and Type | Class and Description |
|---|---|
static class |
BlockWorkerDataReader.Factory
Factory class to create
BlockWorkerDataReaders. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
pos() |
DataBuffer |
readChunk()
Reads a chunk.
|
public DataBuffer readChunk() throws java.io.IOException
DataReaderreadChunk in interface DataReaderjava.io.IOExceptionpublic long pos()
pos in interface DataReaderpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright © 2022. All Rights Reserved.