Send feedback Class SessionPoolOptions (2.26.1) Stay organized with collections Save and categorize content based on your preferences.
Version 2.26.1keyboard_arrow_down
public class SessionPoolOptions
Inheritance Object > SessionPoolOptions Static Methods getUseMultiplexedSessionFromEnvVariablePartitionedOps()
protected static Boolean getUseMultiplexedSessionFromEnvVariablePartitionedOps ()
newBuilder()
public static SessionPoolOptions . Builder newBuilder ()
Methods equals(Object arg0)
public boolean equals ( Object arg0 )
Parameter Name Description arg0
Object
Overrides getKeepAliveIntervalMinutes()
public int getKeepAliveIntervalMinutes ()
Returns Type Description int
getMaxIdleSessions() (deprecated)
public int getMaxIdleSessions ()
Returns Type Description int
getMaxSessions()
public int getMaxSessions ()
Returns Type Description int
getMinSessions()
public int getMinSessions ()
Returns Type Description int
getRemoveInactiveSessionAfter()
public Duration getRemoveInactiveSessionAfter ()
Obsolete
Use getRemoveInactiveSessionAfterDuration() instead
This feature is stable for usage in this major version, but may be deprecated in a future release.
Returns Type Description org.threeten.bp.Duration
getRemoveInactiveSessionAfterDuration()
public Duration getRemoveInactiveSessionAfterDuration ()
getUseMultiplexedSession()
public boolean getUseMultiplexedSession ()
getUseMultiplexedSessionBlindWrite()
protected boolean getUseMultiplexedSessionBlindWrite ()
getUseMultiplexedSessionForRW()
public boolean getUseMultiplexedSessionForRW ()
getUseMultiplexedSessionPartitionedOps()
public boolean getUseMultiplexedSessionPartitionedOps ()
getWriteSessionsFraction() (deprecated)
public float getWriteSessionsFraction ()
Returns Type Description float
hashCode() Returns Type Description int
Overrides isAutoDetectDialect()
public boolean isAutoDetectDialect ()
isBlockIfPoolExhausted()
public boolean isBlockIfPoolExhausted ()
isFailIfPoolExhausted()
public boolean isFailIfPoolExhausted ()
isTrackStackTraceOfSessionCheckout()
public boolean isTrackStackTraceOfSessionCheckout ()
toBuilder()
public SessionPoolOptions . Builder toBuilder ()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[]]