| Constructor and Description |
|---|
WatchImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.grpc.stub.StreamObserver<WatchRequest> |
watch(io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
Watch watches for events happening or that have happened.
|
public io.grpc.stub.StreamObserver<WatchRequest> watch(io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
Watch watches for events happening or that have happened. Both input and output are streams; the input stream is for creating and canceling watchers and the output stream sends events. One watch RPC can watch on multiple key ranges, streaming events for several watches at once. The entire event history can be watched starting from the last compaction revision.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022. All rights reserved.