Package gql
Class GqlServiceGrpc.GqlServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GqlServiceGrpc.GqlServiceFutureStub>
gql.GqlServiceGrpc.GqlServiceFutureStub
- Enclosing class:
- GqlServiceGrpc
public static final class GqlServiceGrpc.GqlServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<GqlServiceGrpc.GqlServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service GqlService.
-
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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.BeginResponse>Begin an explicit transaction.protected GqlServiceGrpc.GqlServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.CommitResponse>commit(GqlServiceOuterClass.CommitRequest request) Commit the active transaction.com.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.RollbackResponse>Roll back the active transaction.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GqlServiceGrpc.GqlServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GqlServiceGrpc.GqlServiceFutureStub>
-
beginTransaction
public com.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.BeginResponse> beginTransaction(GqlServiceOuterClass.BeginRequest request) Begin an explicit transaction.
-
commit
public com.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.CommitResponse> commit(GqlServiceOuterClass.CommitRequest request) Commit the active transaction.
-
rollback
public com.google.common.util.concurrent.ListenableFuture<GqlServiceOuterClass.RollbackResponse> rollback(GqlServiceOuterClass.RollbackRequest request) Roll back the active transaction.
-