public static final class VertxLeaseGrpc.LeaseVertxStub extends io.grpc.stub.AbstractStub<VertxLeaseGrpc.LeaseVertxStub>
| Modifier and Type | Method and Description |
|---|---|
protected VertxLeaseGrpc.LeaseVertxStub |
build(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) |
io.vertx.core.Future<LeaseLeasesResponse> |
leaseLeases(LeaseLeasesRequest request)
Compact compacts the event history in the etcd 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) |
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected VertxLeaseGrpc.LeaseVertxStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<VertxLeaseGrpc.LeaseVertxStub>public io.vertx.core.Future<LeaseGrantResponse> leaseGrant(LeaseGrantRequest request)
Range gets the keys in the range from the key-value store.
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.
public io.vertx.core.Future<LeaseTimeToLiveResponse> leaseTimeToLive(LeaseTimeToLiveRequest request)
public io.vertx.core.Future<LeaseLeasesResponse> leaseLeases(LeaseLeasesRequest request)
Compact compacts the event history in the etcd key-value store. The key-value store should be periodically compacted or the event history will continue to grow indefinitely.
public io.vertx.core.streams.ReadStream<LeaseKeepAliveResponse> leaseKeepAlive(io.vertx.core.Handler<io.vertx.core.streams.WriteStream<LeaseKeepAliveRequest>> hdlr)
Copyright © 2021. All rights reserved.