Class ShardNotificationReceiver
java.lang.Object
io.streamnative.oxia.client.notify.ShardNotificationReceiver
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<NotificationBatch>,Closeable,AutoCloseable
public class ShardNotificationReceiver
extends Object
implements Closeable, io.grpc.stub.StreamObserver<NotificationBatch>
-
Method Summary
-
Method Details
-
onNext
- Specified by:
onNextin interfaceio.grpc.stub.StreamObserver<NotificationBatch>
-
onError
- Specified by:
onErrorin interfaceio.grpc.stub.StreamObserver<NotificationBatch>
-
onCompleted
public void onCompleted()- Specified by:
onCompletedin interfaceio.grpc.stub.StreamObserver<NotificationBatch>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-