Class WorkerProxy (6.83.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
TypeDescription
String

PROJECT_ID

public static final String PROJECT_ID
Field Value
TypeDescription
String

cert

public static String cert
Field Value
TypeDescription
String

commandLine

public static CommandLine commandLine
Field Value
TypeDescription
org.apache.commons.cli.CommandLine

enableGrpcFaultInjector

public static boolean enableGrpcFaultInjector
Field Value
TypeDescription
boolean

multiplexedSessionOperationsRatio

public static double multiplexedSessionOperationsRatio
Field Value
TypeDescription
double

openTelemetrySdk

public static OpenTelemetrySdk openTelemetrySdk
Field Value
TypeDescription
io.opentelemetry.sdk.OpenTelemetrySdk

proxyPort

public static int proxyPort
Field Value
TypeDescription
int

serviceKeyFile

public static String serviceKeyFile
Field Value
TypeDescription
String

spannerPort

public static int spannerPort
Field Value
TypeDescription
int

usePlainTextChannel

public static boolean usePlainTextChannel
Field Value
TypeDescription
boolean

Static Methods

main(String[] args)

public static void main(String[] args)
Parameter
NameDescription
argsString[]
Exceptions
TypeDescription
Exception

setupOpenTelemetrySdk()

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

Constructors

WorkerProxy()

public WorkerProxy()