public static final class SpannerResourceManager.Builder
extends java.lang.Object
SpannerResourceManager
.Modifier and Type | Method and Description |
---|---|
SpannerResourceManager |
build() |
SpannerResourceManager.Builder |
maybeUseStaticInstance()
Looks at the system properties if there's an instance id, and reuses it if configured.
|
SpannerResourceManager.Builder |
useStaticInstance()
Configures the resource manager to use a static GCP resource instead of creating a new
instance of the resource.
|
public SpannerResourceManager.Builder useStaticInstance()
public SpannerResourceManager.Builder maybeUseStaticInstance()
public SpannerResourceManager build()