Send feedback
Class SessionPoolOptions
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.21.2 keyboard_arrow_down
public class SessionPoolOptions
Options for the session pool used by DatabaseClient
.
Inheritance
Object >
SessionPoolOptions
Static Methods
newBuilder()
public static SessionPoolOptions . Builder newBuilder ()
Returns
Methods
equals(Object o)
public boolean equals ( Object o )
Parameter
Returns
Overrides
getKeepAliveIntervalMinutes()
public int getKeepAliveIntervalMinutes ()
Returns
getMaxIdleSessions() (deprecated)
public int getMaxIdleSessions ()
Returns
getMaxSessions()
public int getMaxSessions ()
Returns
getMinSessions()
public int getMinSessions ()
Returns
getRemoveInactiveSessionAfter()
public Duration getRemoveInactiveSessionAfter ()
Returns
Type Description org.threeten.bp.Duration
getWriteSessionsFraction() (deprecated)
public float getWriteSessionsFraction ()
Deprecated. 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.
Returns
hashCode()
Returns
Overrides
isAutoDetectDialect()
public boolean isAutoDetectDialect ()
Returns
isBlockIfPoolExhausted()
public boolean isBlockIfPoolExhausted ()
Returns
isFailIfPoolExhausted()
public boolean isFailIfPoolExhausted ()
Returns
toBuilder()
public SessionPoolOptions . Builder toBuilder ()
Returns
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 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}