Package io.dingodb.version
Class VersionServiceGrpc.VersionServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VersionServiceGrpc.VersionServiceFutureStub>
io.dingodb.version.VersionServiceGrpc.VersionServiceFutureStub
- Enclosing class:
- VersionServiceGrpc
public static final class VersionServiceGrpc.VersionServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<VersionServiceGrpc.VersionServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service VersionService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Version.GetCurrVersionResponse>com.google.common.util.concurrent.ListenableFuture<Version.HelloResponse>getMemoryInfo(Version.HelloRequest request) com.google.common.util.concurrent.ListenableFuture<Version.GetNewVersionResponse>com.google.common.util.concurrent.ListenableFuture<Version.GetRawKvIndexResponse>com.google.common.util.concurrent.ListenableFuture<Version.GetRawKvRevResponse>getRawKvRev(Version.GetRawKvRevRequest request) com.google.common.util.concurrent.ListenableFuture<Version.HelloResponse>hello(Version.HelloRequest request) Hello, this is for kv_controlcom.google.common.util.concurrent.ListenableFuture<Version.CompactionResponse>kvCompaction(Version.CompactionRequest request) KvCompaction is compaction kv with compaction_revisioncom.google.common.util.concurrent.ListenableFuture<Version.DeleteRangeResponse>kvDeleteRange(Version.DeleteRangeRequest request) DeleteRange is Delete and MultiDeletecom.google.common.util.concurrent.ListenableFuture<Version.PutResponse>kvPut(Version.PutRequest request) Put is Upsertcom.google.common.util.concurrent.ListenableFuture<Version.RangeResponse>kvRange(Version.RangeRequest request) Range is Get and MultiGetcom.google.common.util.concurrent.ListenableFuture<Version.LeaseGrantResponse>leaseGrant(Version.LeaseGrantRequest request) LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period.com.google.common.util.concurrent.ListenableFuture<Version.LeaseQueryResponse>leaseQuery(Version.LeaseQueryRequest request) LeaseQuery retrieves lease information.com.google.common.util.concurrent.ListenableFuture<Version.LeaseRenewResponse>leaseRenew(Version.LeaseRenewRequest request) LeaseRenew keeps the lease alive by streaming keep alive requests from the client to the server and streaming keep alive responses from the server to the client.com.google.common.util.concurrent.ListenableFuture<Version.LeaseRevokeResponse>leaseRevoke(Version.LeaseRevokeRequest request) LeaseRevoke revokes a lease.com.google.common.util.concurrent.ListenableFuture<Version.ListLeasesResponse>listLeases(Version.ListLeasesRequest request) ListLeases lists all existing leases.com.google.common.util.concurrent.ListenableFuture<Version.WatchResponse>watch(Version.WatchRequest request) Watch watches for events happening or that have happened.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected VersionServiceGrpc.VersionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VersionServiceGrpc.VersionServiceFutureStub>
-
hello
public com.google.common.util.concurrent.ListenableFuture<Version.HelloResponse> hello(Version.HelloRequest request) Hello, this is for kv_control
-
getMemoryInfo
public com.google.common.util.concurrent.ListenableFuture<Version.HelloResponse> getMemoryInfo(Version.HelloRequest request) -
getCurrVersion
public com.google.common.util.concurrent.ListenableFuture<Version.GetCurrVersionResponse> getCurrVersion(Version.GetCurrVersionRequest request) -
getNewVersion
public com.google.common.util.concurrent.ListenableFuture<Version.GetNewVersionResponse> getNewVersion(Version.GetNewVersionRequest request) -
kvRange
public com.google.common.util.concurrent.ListenableFuture<Version.RangeResponse> kvRange(Version.RangeRequest request) Range is Get and MultiGet
-
kvPut
public com.google.common.util.concurrent.ListenableFuture<Version.PutResponse> kvPut(Version.PutRequest request) Put is Upsert
-
kvDeleteRange
public com.google.common.util.concurrent.ListenableFuture<Version.DeleteRangeResponse> kvDeleteRange(Version.DeleteRangeRequest request) DeleteRange is Delete and MultiDelete
-
kvCompaction
public com.google.common.util.concurrent.ListenableFuture<Version.CompactionResponse> kvCompaction(Version.CompactionRequest request) KvCompaction is compaction kv with compaction_revision
-
leaseGrant
public com.google.common.util.concurrent.ListenableFuture<Version.LeaseGrantResponse> leaseGrant(Version.LeaseGrantRequest request) LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period. All keys attached to the lease will be expired and deleted if the lease expires. Each expired key generates a delete event in the event history.
-
leaseRevoke
public com.google.common.util.concurrent.ListenableFuture<Version.LeaseRevokeResponse> leaseRevoke(Version.LeaseRevokeRequest request) LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
-
leaseRenew
public com.google.common.util.concurrent.ListenableFuture<Version.LeaseRenewResponse> leaseRenew(Version.LeaseRenewRequest request) LeaseRenew keeps the lease alive by streaming keep alive requests from the client to the server and streaming keep alive responses from the server to the client.
-
leaseQuery
public com.google.common.util.concurrent.ListenableFuture<Version.LeaseQueryResponse> leaseQuery(Version.LeaseQueryRequest request) LeaseQuery retrieves lease information.
-
listLeases
public com.google.common.util.concurrent.ListenableFuture<Version.ListLeasesResponse> listLeases(Version.ListLeasesRequest request) ListLeases lists all existing leases.
-
watch
public com.google.common.util.concurrent.ListenableFuture<Version.WatchResponse> watch(Version.WatchRequest request) Watch watches for events happening or that have happened. client need to do loop rpc calls for continuous watch until it encounters an error.
-
getRawKvIndex
public com.google.common.util.concurrent.ListenableFuture<Version.GetRawKvIndexResponse> getRawKvIndex(Version.GetRawKvIndexRequest request) -
getRawKvRev
public com.google.common.util.concurrent.ListenableFuture<Version.GetRawKvRevResponse> getRawKvRev(Version.GetRawKvRevRequest request)
-