Class SpannerExecutorProxyGrpc.SpannerExecutorProxyStub (6.82.0)

public static final class SpannerExecutorProxyGrpc.SpannerExecutorProxyStub extends AbstractAsyncStub<SpannerExecutorProxyGrpc.SpannerExecutorProxyStub>

A stub to allow clients to do asynchronous rpc calls to service SpannerExecutorProxy.

Service that executes SpannerActions asynchronously.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SpannerExecutorProxyGrpc.SpannerExecutorProxyStub

Methods

build(Channel channel, CallOptions callOptions)

protected SpannerExecutorProxyGrpc.SpannerExecutorProxyStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SpannerExecutorProxyGrpc.SpannerExecutorProxyStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

public StreamObserver<SpannerAsyncActionRequest> executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

ExecuteActionAsync is a streaming call that starts executing a new Spanner action. For each request, the server will reply with one or more responses, but only the last response will contain status in the outcome. Responses can be matched to requests by action_id. It is allowed to have multiple actions in flight--in that case, actions are be executed in parallel.

Parameter
Name Description
responseObserver io.grpc.stub.StreamObserver<SpannerAsyncActionResponse>
Returns
Type Description
io.grpc.stub.StreamObserver<SpannerAsyncActionRequest>