Class WorkerProxy (6.102.0)
Worker proxy for Java API. This is the main entry of the Java client proxy on cloud Spanner Java
client.
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[]
|
setupOpenTelemetrySdk()
public static OpenTelemetrySdk setupOpenTelemetrySdk()
Returns |
Type |
Description |
io.opentelemetry.sdk.OpenTelemetrySdk |
|
Constructors
WorkerProxy()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]