static SessionPoolOptions.Builder |
SessionPoolOptions.newBuilder() |
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setAutoDetectDialect(boolean autoDetectDialect) |
Sets whether the client should automatically execute a background query to detect the dialect
that is used by the database or not.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setBlockIfPoolExhausted() |
If all sessions are in use and there is no more room for creating new sessions, block for a
session to become available.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setFailIfPoolExhausted() |
If all sessions are in use and and maxSessions has been reached, fail the request by
throwing a SpannerException with the error code RESOURCE_EXHAUSTED .
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setKeepAliveIntervalMinutes(int intervalMinutes) |
How frequently to keep alive idle sessions.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setMaxIdleSessions(int maxIdleSessions) |
Deprecated.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setMaxSessions(int maxSessions) |
Maximum number of sessions that this pool will have.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setMinSessions(int minSessions) |
Minimum number of sessions that this pool will always maintain.
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setRemoveInactiveSessionAfter(org.threeten.bp.Duration duration) |
|
SessionPoolOptions.Builder |
SessionPoolOptions.Builder.setWriteSessionsFraction(float writeSessionsFraction) |
Deprecated.
|
SessionPoolOptions.Builder |
SessionPoolOptions.toBuilder() |
|