Package com.google.cloud.spanner.testing
Class ExperimentalHostHelper
java.lang.Object
com.google.cloud.spanner.testing.ExperimentalHostHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleanChecks whether the emulator is being used.static booleanstatic void
-
Constructor Details
-
ExperimentalHostHelper
public ExperimentalHostHelper()
-
-
Method Details
-
isExperimentalHost
public static boolean isExperimentalHost()Checks whether the emulator is being used. This is done by checking if the SPANNER_EMULATOR_HOST environment variable is set.- Returns:
- true if the emulator is being used. Returns false otherwise.
-
appendExperimentalHost
-
isMtlsSetup
public static boolean isMtlsSetup() -
setExperimentalHostSpannerOptions
-