Method and Description |
---|
com.google.cloud.spanner.SessionPoolOptions.getMaxIdleSessions()
Use a higher value for
SessionPoolOptions.Builder.setMinSessions(int)
instead of setting this option. |
com.google.cloud.spanner.SessionPoolOptions.getWriteSessionsFraction()
This value is no longer used. The session pool does not prepare any sessions for
read/write transactions. Instead, a transaction will be started by including a
BeginTransaction option with the first statement of a transaction. This method may be
removed in a future release.
|
com.google.cloud.spanner.testing.RemoteSpannerHelper.isEmulator()
use
EmulatorSpannerHelper.isUsingEmulator() instead. |
com.google.cloud.spanner.SessionPoolOptions.Builder.setMaxIdleSessions(int)
set a higher value for
SessionPoolOptions.Builder.setMinSessions(int) instead of using this
configuration option. This option will be removed in a future release. |
com.google.cloud.spanner.SessionPoolOptions.Builder.setWriteSessionsFraction(float)
This configuration value is no longer in use. The session pool does not prepare
any sessions for read/write transactions. Instead, a transaction will automatically be
started by the first statement that is executed by a transaction by including a
BeginTransaction option with that statement.
This method may be removed in a future release. |
Copyright © 2021 Google LLC. All rights reserved.