PoolOptionInterface
interface PoolOptionInterface
Methods
Get the maximum number of connections in the pool.
Get the managed-connection floor for excess-idle trimming.
Get the connection timeout in seconds.
Get the wait timeout in seconds for acquiring a connection.
Get the heartbeat interval in seconds.
Get the heartbeat timeout in seconds.
Get the maximum idle time in seconds before a connection is closed.
Get the maximum lifetime in seconds before a connection is recycled.
Get the events to trigger on connection lifecycle.
Details
at line 12
int
getMaxConnections()
Get the maximum number of connections in the pool.
at line 17
int
getMinConnections()
Get the managed-connection floor for excess-idle trimming.
at line 22
float
getConnectTimeout()
Get the connection timeout in seconds.
at line 27
float
getWaitTimeout()
Get the wait timeout in seconds for acquiring a connection.
at line 32
float
getHeartbeat()
Get the heartbeat interval in seconds.
at line 37
float
getHeartbeatTimeout()
Get the heartbeat timeout in seconds.
at line 42
float
getMaxIdleTime()
Get the maximum idle time in seconds before a connection is closed.
at line 47
float
getMaxLifetime()
Get the maximum lifetime in seconds before a connection is recycled.
at line 52
array
getEvents()
Get the events to trigger on connection lifecycle.