Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 4da8a96

Browse files
committed
fix javadoc
1 parent efa5ba2 commit 4da8a96

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolOptions.java

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -988,15 +988,10 @@ Builder setFailOnSessionLeak() {
988988
}
989989

990990
/**
991-
* Sets whether the session pool should capture the call stack trace when a session is checked
992-
* out of the pool. This will internally prepare a {@link
993-
* com.google.cloud.spanner.SessionPool.LeakedSessionException} that will only be thrown if the
994-
* session is actually leaked. This makes it easier to debug session leaks, as the stack trace
995-
* of the thread that checked out the session will be available in the exception.
996-
*
997-
* <p>Some monitoring tools might log these exceptions even though they are not thrown. This
998-
* option can be used to suppress the creation and logging of these exceptions.
991+
* @deprecated This option is no longer used as the session pool has been removed. Multiplexed
992+
* sessions are now used for all operations.
999993
*/
994+
@Deprecated
1000995
public Builder setTrackStackTraceOfSessionCheckout(boolean trackStackTraceOfSessionCheckout) {
1001996
this.trackStackTraceOfSessionCheckout = trackStackTraceOfSessionCheckout;
1002997
return this;
@@ -1042,9 +1037,10 @@ public Builder setAcquireSessionTimeout(org.threeten.bp.Duration acquireSessionT
10421037
}
10431038

10441039
/**
1045-
* If greater than zero, we wait for said duration when no sessions are available in the {@link
1046-
* SessionPool}. The default is a 60s timeout. Set the value to null to disable the timeout.
1040+
* @deprecated This option is no longer used as the session pool has been removed. Multiplexed
1041+
* sessions are now used for all operations.
10471042
*/
1043+
@Deprecated
10481044
public Builder setAcquireSessionTimeoutDuration(Duration acquireSessionTimeout) {
10491045
try {
10501046
if (acquireSessionTimeout != null) {

0 commit comments

Comments
 (0)