PoolConfig
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $acquireTtl : Duration
- $borrowTimeout : Duration
- $healthCheckOnBorrow : bool
- $idleTtl : Duration
- $max : int
- $minIdle : int
- $validationQuery : string
Methods
- __construct() : mixed
Properties
$acquireTtl
public
Duration
$acquireTtl
$borrowTimeout
public
Duration
$borrowTimeout
$healthCheckOnBorrow
public
bool
$healthCheckOnBorrow
= false
$idleTtl
public
Duration
$idleTtl
$max
public
int
$max
= 16
$minIdle
public
int
$minIdle
= 2
$validationQuery
public
string
$validationQuery
= 'SELECT 1'
Methods
__construct()
public
__construct([Duration|null $acquireTtl = null ][, Duration|null $borrowTimeout = null ][, bool $healthCheckOnBorrow = false ][, Duration|null $idleTtl = null ][, int $max = 16 ][, int $minIdle = 2 ][, string $validationQuery = 'SELECT 1' ]) : mixed