We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f27364 commit 643f345Copy full SHA for 643f345
google-cloud-spanner/src/main/java/com/google/cloud/spanner/XGoogSpannerRequestId.java
@@ -16,12 +16,17 @@
16
17
package com.google.cloud.spanner;
18
19
+import com.google.common.annotations.VisibleForTesting;
20
import java.security.SecureRandom;
21
22
public class XGoogSpannerRequestId {
23
// 1. Generate the random process Id singleton.
24
+ @VisibleForTesting
25
public static String RAND_PROCESS_ID = XGoogSpannerRequestId.generateRandProcessId();
26
+
27
28
public static long VERSION = 1; // The version of the specification being implemented.
29
30
private long nthClientId;
31
private long nthChannelId;
32
private long nthRequest;
0 commit comments