Class CloudClientExecutor (6.77.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

Static Methods

unexpectedExceptionResponse(Exception e)

public static String unexpectedExceptionResponse(Exception e)
Parameter
Name Description
e Exception
Returns
Type Description
String

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