Class WorkerProxy (6.82.0)

public class WorkerProxy

Worker proxy for Java API. This is the main entry of the Java client proxy on cloud Spanner Java client.

Inheritance

java.lang.Object > WorkerProxy

Static Fields

CLOUD_TRACE_ENDPOINT

public static final String CLOUD_TRACE_ENDPOINT
Field Value
Type Description
String

PROJECT_ID

public static final String PROJECT_ID
Field Value
Type Description
String

cert

public static String cert
Field Value
Type Description
String

commandLine

public static CommandLine commandLine
Field Value
Type Description
org.apache.commons.cli.CommandLine

enableGrpcFaultInjector

public static boolean enableGrpcFaultInjector
Field Value
Type Description
boolean

multiplexedSessionOperationsRatio

public static double multiplexedSessionOperationsRatio
Field Value
Type Description
double

openTelemetrySdk

public static OpenTelemetrySdk openTelemetrySdk
Field Value
Type Description
io.opentelemetry.sdk.OpenTelemetrySdk

proxyPort

public static int proxyPort
Field Value
Type Description
int

serviceKeyFile

public static String serviceKeyFile
Field Value
Type Description
String

spannerPort

public static int spannerPort
Field Value
Type Description
int

usePlainTextChannel

public static boolean usePlainTextChannel
Field Value
Type Description
boolean

Static Methods

main(String[] args)

public static void main(String[] args)
Parameter
Name Description
args String[]
Exceptions
Type Description
Exception

setupOpenTelemetrySdk()

public static OpenTelemetrySdk setupOpenTelemetrySdk()
Returns
Type Description
io.opentelemetry.sdk.OpenTelemetrySdk
Exceptions
Type Description
Exception

Constructors

WorkerProxy()

public WorkerProxy()