Class CloudClientExecutor (6.55.0)

public class CloudClientExecutor extends CloudExecutor

Implementation of the SpannerExecutorProxy gRPC service that proxies action request through the Java Cloud Client.

Inheritance

java.lang.Object > CloudExecutor > CloudClientExecutor

Constructors

CloudClientExecutor(boolean enableGrpcFaultInjector)

public CloudClientExecutor(boolean enableGrpcFaultInjector)
Parameter
NameDescription
enableGrpcFaultInjectorboolean

Methods

startHandlingRequest(SpannerAsyncActionRequest req, CloudClientExecutor.ExecutionFlowContext executionContext)

public Status startHandlingRequest(SpannerAsyncActionRequest req, CloudClientExecutor.ExecutionFlowContext executionContext)

Handle actions.

Parameters
NameDescription
reqcom.google.spanner.executor.v1.SpannerAsyncActionRequest
executionContextcom.google.cloud.executor.spanner.CloudClientExecutor.ExecutionFlowContext
Returns
TypeDescription
io.grpc.Status