Package io.dingodb.version
Class VersionServiceGrpc.VersionServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<VersionServiceGrpc.VersionServiceBlockingStub>
io.dingodb.version.VersionServiceGrpc.VersionServiceBlockingStub
- Enclosing class:
- VersionServiceGrpc
public static final class VersionServiceGrpc.VersionServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<VersionServiceGrpc.VersionServiceBlockingStub>
A stub to allow clients to do synchronous 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) getMemoryInfo(Version.HelloRequest request) getRawKvRev(Version.GetRawKvRevRequest request) hello(Version.HelloRequest request) Hello, this is for kv_controlkvCompaction(Version.CompactionRequest request) KvCompaction is compaction kv with compaction_revisionkvDeleteRange(Version.DeleteRangeRequest request) DeleteRange is Delete and MultiDeletekvPut(Version.PutRequest request) Put is UpsertkvRange(Version.RangeRequest request) Range is Get and MultiGetleaseGrant(Version.LeaseGrantRequest request) LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period.leaseQuery(Version.LeaseQueryRequest request) LeaseQuery retrieves lease information.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.leaseRevoke(Version.LeaseRevokeRequest request) LeaseRevoke revokes a lease.listLeases(Version.ListLeasesRequest request) ListLeases lists all existing leases.watch(Version.WatchRequest request) Watch watches for events happening or that have happened.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.VersionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VersionServiceGrpc.VersionServiceBlockingStub>
-
hello
Hello, this is for kv_control
-
getMemoryInfo
-
getCurrVersion
-
getNewVersion
-
kvRange
Range is Get and MultiGet
-
kvPut
Put is Upsert
-
kvDeleteRange
DeleteRange is Delete and MultiDelete
-
kvCompaction
KvCompaction is compaction kv with compaction_revision
-
leaseGrant
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
LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
-
leaseRenew
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
LeaseQuery retrieves lease information.
-
listLeases
ListLeases lists all existing leases.
-
watch
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
-
getRawKvRev
-