Class SessionPoolOptions.Builder (2.15.5)

public static class SessionPoolOptions.Builder

Inheritance

java.lang.Object > SessionPoolOptions.Builder

Constructors

Builder()

public Builder()

Methods

build()

public SessionPoolOptions build()
Returns
TypeDescription
SessionPoolOptions

setAcquireSessionTimeout(Duration arg0)

public SessionPoolOptions.Builder setAcquireSessionTimeout(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SessionPoolOptions.Builder

setAutoDetectDialect(boolean arg0)

public SessionPoolOptions.Builder setAutoDetectDialect(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
SessionPoolOptions.Builder

setBlockIfPoolExhausted()

public SessionPoolOptions.Builder setBlockIfPoolExhausted()
Returns
TypeDescription
SessionPoolOptions.Builder

setFailIfPoolExhausted()

public SessionPoolOptions.Builder setFailIfPoolExhausted()
Returns
TypeDescription
SessionPoolOptions.Builder

setKeepAliveIntervalMinutes(int arg0)

public SessionPoolOptions.Builder setKeepAliveIntervalMinutes(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
SessionPoolOptions.Builder

setMaxIdleSessions(int arg0)

public SessionPoolOptions.Builder setMaxIdleSessions(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
SessionPoolOptions.Builder

setMaxSessions(int arg0)

public SessionPoolOptions.Builder setMaxSessions(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
SessionPoolOptions.Builder

setMinSessions(int arg0)

public SessionPoolOptions.Builder setMinSessions(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
SessionPoolOptions.Builder

setRemoveInactiveSessionAfter(Duration arg0)

public SessionPoolOptions.Builder setRemoveInactiveSessionAfter(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SessionPoolOptions.Builder

setTrackStackTraceOfSessionCheckout(boolean arg0)

public SessionPoolOptions.Builder setTrackStackTraceOfSessionCheckout(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
SessionPoolOptions.Builder

setWaitForMinSessions(Duration arg0)

public SessionPoolOptions.Builder setWaitForMinSessions(Duration arg0)
Parameter
NameDescription
arg0org.threeten.bp.Duration
Returns
TypeDescription
SessionPoolOptions.Builder

setWarnAndCloseIfInactiveTransactions()

public SessionPoolOptions.Builder setWarnAndCloseIfInactiveTransactions()
Returns
TypeDescription
SessionPoolOptions.Builder

setWarnIfInactiveTransactions()

public SessionPoolOptions.Builder setWarnIfInactiveTransactions()
Returns
TypeDescription
SessionPoolOptions.Builder

setWriteSessionsFraction(float arg0)

public SessionPoolOptions.Builder setWriteSessionsFraction(float arg0)
Parameter
NameDescription
arg0float
Returns
TypeDescription
SessionPoolOptions.Builder