Class SessionPoolOptions.Builder (2.22.0)

public static class SessionPoolOptions.Builder

Inheritance

java.lang.Object > SessionPoolOptions.Builder

Constructors

Builder()

public Builder()

Methods

build()

public SessionPoolOptions build()
Returns
Type Description
SessionPoolOptions

setAcquireSessionTimeout(Duration arg0)

public SessionPoolOptions.Builder setAcquireSessionTimeout(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SessionPoolOptions.Builder

setAutoDetectDialect(boolean arg0)

public SessionPoolOptions.Builder setAutoDetectDialect(boolean arg0)
Parameter
Name Description
arg0 boolean
Returns
Type Description
SessionPoolOptions.Builder

setBlockIfPoolExhausted()

public SessionPoolOptions.Builder setBlockIfPoolExhausted()
Returns
Type Description
SessionPoolOptions.Builder

setFailIfPoolExhausted()

public SessionPoolOptions.Builder setFailIfPoolExhausted()
Returns
Type Description
SessionPoolOptions.Builder

setKeepAliveIntervalMinutes(int arg0)

public SessionPoolOptions.Builder setKeepAliveIntervalMinutes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
SessionPoolOptions.Builder

setMaxIdleSessions(int arg0) (deprecated)

public SessionPoolOptions.Builder setMaxIdleSessions(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
SessionPoolOptions.Builder

setMaxSessions(int arg0)

public SessionPoolOptions.Builder setMaxSessions(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
SessionPoolOptions.Builder

setMinSessions(int arg0)

public SessionPoolOptions.Builder setMinSessions(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
SessionPoolOptions.Builder

setRemoveInactiveSessionAfter(Duration arg0)

public SessionPoolOptions.Builder setRemoveInactiveSessionAfter(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SessionPoolOptions.Builder

setTrackStackTraceOfSessionCheckout(boolean arg0)

public SessionPoolOptions.Builder setTrackStackTraceOfSessionCheckout(boolean arg0)
Parameter
Name Description
arg0 boolean
Returns
Type Description
SessionPoolOptions.Builder

setWaitForMinSessions(Duration arg0)

public SessionPoolOptions.Builder setWaitForMinSessions(Duration arg0)
Parameter
Name Description
arg0 org.threeten.bp.Duration
Returns
Type Description
SessionPoolOptions.Builder

setWarnAndCloseIfInactiveTransactions()

public SessionPoolOptions.Builder setWarnAndCloseIfInactiveTransactions()
Returns
Type Description
SessionPoolOptions.Builder

setWarnIfInactiveTransactions()

public SessionPoolOptions.Builder setWarnIfInactiveTransactions()
Returns
Type Description
SessionPoolOptions.Builder

setWriteSessionsFraction(float arg0)

public SessionPoolOptions.Builder setWriteSessionsFraction(float arg0)
Parameter
Name Description
arg0 float
Returns
Type Description
SessionPoolOptions.Builder