Class CloudExecutorImpl (6.51.0)

public class CloudExecutorImpl extends SpannerExecutorProxyGrpc.SpannerExecutorProxyImplBase

Send proxied action requests through Spanner Cloud API.

Inheritance

java.lang.Object > com.google.spanner.executor.v1.SpannerExecutorProxyGrpc.SpannerExecutorProxyImplBase > CloudExecutorImpl

Constructors

CloudExecutorImpl(boolean enableGrpcFaultInjector)

public CloudExecutorImpl(boolean enableGrpcFaultInjector)
Parameter
NameDescription
enableGrpcFaultInjectorboolean

Methods

executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

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

Execute SpannerAsync action requests.

Parameter
NameDescription
responseObserverio.grpc.stub.StreamObserver<com.google.spanner.executor.v1.SpannerAsyncActionResponse>
Returns
TypeDescription
io.grpc.stub.StreamObserver<com.google.spanner.executor.v1.SpannerAsyncActionRequest>
Overrides
com.google.spanner.executor.v1.SpannerExecutorProxyGrpc.SpannerExecutorProxyImplBase.executeActionAsync(io.grpc.stub.StreamObserver<com.google.spanner.executor.v1.SpannerAsyncActionResponse>)