public abstract static class VertxKVGrpc.KVVertxImplBase extends Object implements io.grpc.BindableService
| Constructor and Description |
|---|
KVVertxImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.vertx.core.Future<CompactionResponse> |
compact(CompactionRequest request)
Compact compacts the event history in the etcd key-value store.
|
io.vertx.core.Future<DeleteRangeResponse> |
deleteRange(DeleteRangeRequest request) |
io.vertx.core.Future<PutResponse> |
put(PutRequest request)
Put puts the given key into the key-value store.
|
io.vertx.core.Future<RangeResponse> |
range(RangeRequest request)
Range gets the keys in the range from the key-value store.
|
io.vertx.core.Future<TxnResponse> |
txn(TxnRequest request) |
VertxKVGrpc.KVVertxImplBase |
withCompression(String compression)
Set whether the server will try to use a compressed response.
|
public VertxKVGrpc.KVVertxImplBase withCompression(String compression)
compression - the compression, e.g gzippublic io.vertx.core.Future<RangeResponse> range(RangeRequest request)
Range gets the keys in the range from the key-value store.
public io.vertx.core.Future<PutResponse> put(PutRequest 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<DeleteRangeResponse> deleteRange(DeleteRangeRequest request)
public io.vertx.core.Future<TxnResponse> txn(TxnRequest request)
public io.vertx.core.Future<CompactionResponse> compact(CompactionRequest 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 final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2021. All rights reserved.