public class WatchService extends WatchGrpc.WatchImplBase
| Constructor and Description |
|---|
WatchService(KetaLeaderElector elector) |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.stub.StreamObserver<WatchRequest> |
watch(io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
Watch watches for events happening or that have happened.
|
bindServicepublic WatchService(KetaLeaderElector elector)
public io.grpc.stub.StreamObserver<WatchRequest> watch(io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
WatchGrpc.WatchImplBaseWatch 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.
watch in class WatchGrpc.WatchImplBaseCopyright © 2021. All rights reserved.