File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1616
1717package com .google .cloud .spanner ;
1818
19+ import com .google .common .annotations .VisibleForTesting ;
1920import java .security .SecureRandom ;
2021
2122public class XGoogSpannerRequestId {
2223 // 1. Generate the random process Id singleton.
23- public static String RAND_PROCESS_ID = XGoogSpannerRequestId .generateRandProcessId ();
24- public static long VERSION = 1 ; // The version of the specification being implemented.
24+ @ VisibleForTesting
25+ static String RAND_PROCESS_ID = XGoogSpannerRequestId .generateRandProcessId ();
26+
27+ @ VisibleForTesting
28+ static long VERSION = 1 ; // The version of the specification being implemented.
29+
2530 private long nthClientId ;
2631 private long nthChannelId ;
2732 private long nthRequest ;
You can’t perform that action at this time.
0 commit comments