interface PoolOptionInterface

Methods

int
getMaxConnections()

Get the maximum number of connections in the pool.

int
getMinConnections()

Get the managed-connection floor for excess-idle trimming.

float
getConnectTimeout()

Get the connection timeout in seconds.

float
getWaitTimeout()

Get the wait timeout in seconds for acquiring a connection.

float
getHeartbeat()

Get the heartbeat interval in seconds.

float
getHeartbeatTimeout()

Get the heartbeat timeout in seconds.

float
getMaxIdleTime()

Get the maximum idle time in seconds before a connection is closed.

float
getMaxLifetime()

Get the maximum lifetime in seconds before a connection is recycled.

array
getEvents()

Get the events to trigger on connection lifecycle.

Details

at line 12
int getMaxConnections()

Get the maximum number of connections in the pool.

Return Value

int

at line 17
int getMinConnections()

Get the managed-connection floor for excess-idle trimming.

Return Value

int

at line 22
float getConnectTimeout()

Get the connection timeout in seconds.

Return Value

float

at line 27
float getWaitTimeout()

Get the wait timeout in seconds for acquiring a connection.

Return Value

float

at line 32
float getHeartbeat()

Get the heartbeat interval in seconds.

Return Value

float

at line 37
float getHeartbeatTimeout()

Get the heartbeat timeout in seconds.

Return Value

float

at line 42
float getMaxIdleTime()

Get the maximum idle time in seconds before a connection is closed.

Return Value

float

at line 47
float getMaxLifetime()

Get the maximum lifetime in seconds before a connection is recycled.

Return Value

float

at line 52
array getEvents()

Get the events to trigger on connection lifecycle.

Return Value

array