Package io.etcd.jetcd.api
Class VertxLeaseGrpc.LeaseVertxStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<VertxLeaseGrpc.LeaseVertxStub>
-
- io.etcd.jetcd.api.VertxLeaseGrpc.LeaseVertxStub
-
- Enclosing class:
- VertxLeaseGrpc
public static final class VertxLeaseGrpc.LeaseVertxStub extends io.grpc.stub.AbstractStub<VertxLeaseGrpc.LeaseVertxStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VertxLeaseGrpc.LeaseVertxStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.vertx.core.Future<LeaseGrantResponse>leaseGrant(LeaseGrantRequest request)Range gets the keys in the range from the key-value store.io.vertx.core.streams.ReadStream<LeaseKeepAliveResponse>leaseKeepAlive(io.vertx.core.Handler<io.vertx.core.streams.WriteStream<LeaseKeepAliveRequest>> hdlr)DeleteRange deletes the given range from the key-value store.io.vertx.core.Future<LeaseRevokeResponse>leaseRevoke(LeaseRevokeRequest request)Put puts the given key into the key-value store.io.vertx.core.Future<LeaseTimeToLiveResponse>leaseTimeToLive(LeaseTimeToLiveRequest request)Txn processes multiple requests in a single transaction.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected VertxLeaseGrpc.LeaseVertxStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<VertxLeaseGrpc.LeaseVertxStub>
-
leaseGrant
public io.vertx.core.Future<LeaseGrantResponse> leaseGrant(LeaseGrantRequest request)
Range gets the keys in the range from the key-value store.
-
leaseRevoke
public io.vertx.core.Future<LeaseRevokeResponse> leaseRevoke(LeaseRevokeRequest request)
Put puts the given key into the key-value store. A put request increments the revision of the key-value store and generates one event in the event history.
-
leaseTimeToLive
public io.vertx.core.Future<LeaseTimeToLiveResponse> leaseTimeToLive(LeaseTimeToLiveRequest request)
Txn processes multiple requests in a single transaction. A txn request increments the revision of the key-value store and generates events with the same revision for every completed request. It is not allowed to modify the same key several times within one txn.
-
leaseKeepAlive
public io.vertx.core.streams.ReadStream<LeaseKeepAliveResponse> leaseKeepAlive(io.vertx.core.Handler<io.vertx.core.streams.WriteStream<LeaseKeepAliveRequest>> hdlr)
DeleteRange deletes the given range from the key-value store. A delete request increments the revision of the key-value store and generates a delete event in the event history for every deleted key.
-
-