public static final class WatchGrpc.WatchStub extends io.grpc.stub.AbstractAsyncStub<WatchGrpc.WatchStub>
| Modifier and Type | Method and Description |
|---|---|
protected WatchGrpc.WatchStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
io.grpc.stub.StreamObserver<WatchRequest> |
watch(io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
Watch watches for events happening or that have happened.
|
protected WatchGrpc.WatchStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<WatchGrpc.WatchStub>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.
Copyright © 2020. All rights reserved.