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

getEndToEndTraceVerificationTask(String traceId)

public Future<Boolean> getEndToEndTraceVerificationTask(String traceId)
Parameter
Name Description
traceId String
Returns
Type Description
Future<Boolean>

isExportedEndToEndTraceValid(String traceId)

public boolean isExportedEndToEndTraceValid(String traceId)
Parameter
Name Description
traceId String
Returns
Type Description
boolean

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