Class CloudExecutorImpl (6.82.0)

public class CloudExecutorImpl extends SpannerExecutorProxyGrpc.SpannerExecutorProxyImplBase

Send proxied action requests through Spanner Cloud API.

Constructors

CloudExecutorImpl(boolean enableGrpcFaultInjector, double multiplexedSessionOperationsRatio)

public CloudExecutorImpl(boolean enableGrpcFaultInjector, double multiplexedSessionOperationsRatio)
Parameters
Name Description
enableGrpcFaultInjector boolean
multiplexedSessionOperationsRatio double

Methods

executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

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

Execute SpannerAsync action requests.

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