@NotThreadSafe public final class GrpcDataReader extends Object implements DataReader
| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcDataReader.Factory
Factory class to create
GrpcDataReaders. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
pos() |
alluxio.network.protocol.databuffer.DataBuffer |
readChunk()
Reads a chunk.
|
public long pos()
pos in interface DataReaderpublic alluxio.network.protocol.databuffer.DataBuffer readChunk()
throws IOException
DataReaderreadChunk in interface DataReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2024. All Rights Reserved.