public interface KvClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
KvClient.FluentCmpTarget |
static interface |
KvClient.FluentDeleteRequest |
static interface |
KvClient.FluentPutRequest |
static interface |
KvClient.FluentRangeRequest |
static interface |
KvClient.FluentRequest<FR extends KvClient.FluentRequest<FR,ReqT,RespT>,ReqT,RespT> |
static interface |
KvClient.FluentTxnOps<FTO extends KvClient.FluentTxnOps<FTO>> |
static interface |
KvClient.FluentTxnRequest |
static interface |
KvClient.FluentTxnSuccOps |
static interface |
KvClient.FluentWatchRequest |
static class |
KvClient.RetryStrategy |
static interface |
KvClient.Watch |
static interface |
KvClient.WatchIterator |
| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.ByteString |
ALL_KEYS |
| Modifier and Type | Method and Description |
|---|---|
KvClient.FluentTxnOps<?> |
batch() |
com.google.common.util.concurrent.ListenableFuture<CompactionResponse> |
compact(long minRevision,
boolean physical) |
KvClient.FluentDeleteRequest |
delete(com.google.protobuf.ByteString key) |
com.google.common.util.concurrent.ListenableFuture<DeleteRangeResponse> |
delete(DeleteRangeRequest request) |
KvClient.FluentRangeRequest |
get(com.google.protobuf.ByteString key) |
com.google.common.util.concurrent.ListenableFuture<RangeResponse> |
get(RangeRequest request) |
KvClient.FluentPutRequest |
put(com.google.protobuf.ByteString key,
com.google.protobuf.ByteString value) |
KvClient.FluentPutRequest |
put(com.google.protobuf.ByteString key,
com.google.protobuf.ByteString value,
long leaseId) |
com.google.common.util.concurrent.ListenableFuture<PutResponse> |
put(PutRequest request) |
KvClient.FluentPutRequest |
setLease(com.google.protobuf.ByteString key,
long leaseId) |
KvClient.FluentPutRequest |
setValue(com.google.protobuf.ByteString key,
com.google.protobuf.ByteString value) |
com.google.common.util.concurrent.ListenableFuture<TxnResponse> |
txn(TxnRequest txn) |
KvClient.FluentTxnRequest |
txnIf() |
TxnResponse |
txnSync(TxnRequest txn,
long timeoutMillis) |
KvClient.FluentWatchRequest |
watch(com.google.protobuf.ByteString key) |
KvClient.Watch |
watch(WatchCreateRequest request,
io.grpc.stub.StreamObserver<WatchUpdate> updates) |
com.google.common.util.concurrent.ListenableFuture<RangeResponse> get(RangeRequest request)
KvClient.FluentRangeRequest get(com.google.protobuf.ByteString key)
com.google.common.util.concurrent.ListenableFuture<TxnResponse> txn(TxnRequest txn)
TxnResponse txnSync(TxnRequest txn, long timeoutMillis)
KvClient.FluentTxnRequest txnIf()
KvClient.FluentTxnOps<?> batch()
com.google.common.util.concurrent.ListenableFuture<PutResponse> put(PutRequest request)
KvClient.FluentPutRequest put(com.google.protobuf.ByteString key, com.google.protobuf.ByteString value)
KvClient.FluentPutRequest put(com.google.protobuf.ByteString key, com.google.protobuf.ByteString value, long leaseId)
KvClient.FluentPutRequest setLease(com.google.protobuf.ByteString key, long leaseId)
KvClient.FluentPutRequest setValue(com.google.protobuf.ByteString key, com.google.protobuf.ByteString value)
com.google.common.util.concurrent.ListenableFuture<DeleteRangeResponse> delete(DeleteRangeRequest request)
KvClient.FluentDeleteRequest delete(com.google.protobuf.ByteString key)
KvClient.Watch watch(WatchCreateRequest request, io.grpc.stub.StreamObserver<WatchUpdate> updates)
KvClient.FluentWatchRequest watch(com.google.protobuf.ByteString key)
com.google.common.util.concurrent.ListenableFuture<CompactionResponse> compact(long minRevision, boolean physical)
Copyright © 2019. All rights reserved.