Class CloudClientExecutor (6.66.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
Name Description
enableGrpcFaultInjector boolean

Methods

startHandlingRequest(SpannerAsyncActionRequest req, CloudClientExecutor.ExecutionFlowContext executionContext)

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

Handle actions.

Parameters
Name Description
req SpannerAsyncActionRequest
executionContext com.google.cloud.executor.spanner.CloudClientExecutor.ExecutionFlowContext
Returns
Type Description
io.grpc.Status