| Package | Description |
|---|---|
| com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
SpannerOptions.FixedCloseableExecutorProvider
Implementation of
SpannerOptions.CloseableExecutorProvider that uses a fixed single ScheduledExecutorService. |
| Modifier and Type | Method and Description |
|---|---|
static SpannerOptions.CloseableExecutorProvider |
SpannerOptions.createAsyncExecutorProvider(int poolSize,
long keepAliveTime,
TimeUnit unit)
Creates a
SpannerOptions.CloseableExecutorProvider that can be used as an ExecutorProvider for
the async API. |
SpannerOptions.CloseableExecutorProvider |
SpannerOptions.getAsyncExecutorProvider() |
| Modifier and Type | Method and Description |
|---|---|
SpannerOptions.Builder |
SpannerOptions.Builder.setAsyncExecutorProvider(SpannerOptions.CloseableExecutorProvider provider)
Sets the
ExecutorProvider to use for high-level async calls that need an executor,
such as fetching results for an AsyncResultSet. |
Copyright © 2022 Google LLC. All rights reserved.