Package io.etcd.jetcd.api
Class WatchGrpc.WatchFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<WatchGrpc.WatchFutureStub>
-
- io.etcd.jetcd.api.WatchGrpc.WatchFutureStub
-
- Enclosing class:
- WatchGrpc
public static final class WatchGrpc.WatchFutureStub extends io.grpc.stub.AbstractFutureStub<WatchGrpc.WatchFutureStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WatchGrpc.WatchFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<WatchResponse>progress(WatchProgressRequest request)Progress requests that a watch stream progress status be sent in the watch response stream as soon as possible.
-
-
-
Method Detail
-
build
protected WatchGrpc.WatchFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<WatchGrpc.WatchFutureStub>
-
progress
public com.google.common.util.concurrent.ListenableFuture<WatchResponse> progress(WatchProgressRequest request)
Progress requests that a watch stream progress status be sent in the watch response stream as soon as possible. For watch progress responses, the header.revision indicates progress. All future events received in this stream are guaranteed to have a higher revision number than the header.revision number.
-
-