public abstract static class VertxLeaseGrpc.LeaseVertxImplBase extends Object implements io.grpc.BindableService
| Constructor and Description |
|---|
LeaseVertxImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.vertx.core.Future<LeaseGrantResponse> |
leaseGrant(LeaseGrantRequest request)
Range gets the keys in the range from the key-value store.
|
void |
leaseKeepAlive(io.vertx.core.streams.ReadStream<LeaseKeepAliveRequest> request,
io.vertx.core.streams.WriteStream<LeaseKeepAliveResponse> response) |
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) |
VertxLeaseGrpc.LeaseVertxImplBase |
withCompression(String compression)
Set whether the server will try to use a compressed response.
|
public VertxLeaseGrpc.LeaseVertxImplBase withCompression(String compression)
compression - the compression, e.g gzippublic 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 void leaseKeepAlive(io.vertx.core.streams.ReadStream<LeaseKeepAliveRequest> request, io.vertx.core.streams.WriteStream<LeaseKeepAliveResponse> response)
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2021. All rights reserved.