| 构造器和说明 |
|---|
WatchImplBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.grpc.stub.StreamObserver<Rpc.WatchRequest> |
watch(io.grpc.stub.StreamObserver<Rpc.WatchResponse> responseObserver)
Watch watches for events happening or that have happened.
|
public io.grpc.stub.StreamObserver<Rpc.WatchRequest> watch(io.grpc.stub.StreamObserver<Rpc.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 在接口中 io.grpc.BindableServiceCopyright © 2018. All rights reserved.