public class FileReadHandler extends Object implements io.grpc.stub.StreamObserver<ReadRequest>
Modifier and Type | Method and Description |
---|---|
protected BlockReadRequestContext |
createRequestContext(ReadRequest request) |
void |
onCompleted() |
void |
onError(Throwable cause) |
void |
onNext(ReadRequest request) |
void |
onReady()
Ready to restart data reader.
|
boolean |
tooManyPendingChunks() |
public void onNext(ReadRequest request)
onNext
in interface io.grpc.stub.StreamObserver<ReadRequest>
public void onError(Throwable cause)
onError
in interface io.grpc.stub.StreamObserver<ReadRequest>
public void onCompleted()
onCompleted
in interface io.grpc.stub.StreamObserver<ReadRequest>
public boolean tooManyPendingChunks()
public void onReady()
protected BlockReadRequestContext createRequestContext(ReadRequest request)
request
- the block read requestCopyright © 2023. All Rights Reserved.