public static final class VertxKVGrpc.KVVertxStub extends io.grpc.stub.AbstractStub<VertxKVGrpc.KVVertxStub>
| Modifier and Type | Method and Description |
|---|---|
protected VertxKVGrpc.KVVertxStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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) |
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected VertxKVGrpc.KVVertxStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<VertxKVGrpc.KVVertxStub>public 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.
Copyright © 2021. All rights reserved.