Send feedback
Class SessionPoolOptions.Builder (2.18.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.18.1 keyboard_arrow_down
public static class SessionPoolOptions . Builder
Constructors
Builder()
Methods
build()
public SessionPoolOptions build ()
setAcquireSessionTimeout(Duration arg0)
public SessionPoolOptions . Builder setAcquireSessionTimeout ( Duration arg0 )
Parameter
Name
Description
arg0
org.threeten.bp.Duration
setAutoDetectDialect(boolean arg0)
public SessionPoolOptions . Builder setAutoDetectDialect ( boolean arg0 )
Parameter
Name
Description
arg0
boolean
setBlockIfPoolExhausted()
public SessionPoolOptions . Builder setBlockIfPoolExhausted ()
setFailIfPoolExhausted()
public SessionPoolOptions . Builder setFailIfPoolExhausted ()
setKeepAliveIntervalMinutes(int arg0)
public SessionPoolOptions . Builder setKeepAliveIntervalMinutes ( int arg0 )
Parameter
Name
Description
arg0
int
setMaxIdleSessions(int arg0) (deprecated)
public SessionPoolOptions . Builder setMaxIdleSessions ( int arg0 )
Parameter
Name
Description
arg0
int
setMaxSessions(int arg0)
public SessionPoolOptions . Builder setMaxSessions ( int arg0 )
Parameter
Name
Description
arg0
int
setMinSessions(int arg0)
public SessionPoolOptions . Builder setMinSessions ( int arg0 )
Parameter
Name
Description
arg0
int
setRemoveInactiveSessionAfter(Duration arg0)
public SessionPoolOptions . Builder setRemoveInactiveSessionAfter ( Duration arg0 )
Parameter
Name
Description
arg0
org.threeten.bp.Duration
setTrackStackTraceOfSessionCheckout(boolean arg0)
public SessionPoolOptions . Builder setTrackStackTraceOfSessionCheckout ( boolean arg0 )
Parameter
Name
Description
arg0
boolean
setUseMultiplexedSession(boolean arg0)
public SessionPoolOptions . Builder setUseMultiplexedSession ( boolean arg0 )
Parameter
Name
Description
arg0
boolean
public SessionPoolOptions . Builder setWaitForMinSessions ( Duration arg0 )
Parameter
Name
Description
arg0
org.threeten.bp.Duration
setWarnAndCloseIfInactiveTransactions()
public SessionPoolOptions . Builder setWarnAndCloseIfInactiveTransactions ()
setWarnIfInactiveTransactions()
public SessionPoolOptions . Builder setWarnIfInactiveTransactions ()
setWriteSessionsFraction(float arg0)
public SessionPoolOptions . Builder setWriteSessionsFraction ( float arg0 )
Parameter
Name
Description
arg0
float
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-11-01 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 2024-11-01 UTC."],[],[]]