final class PoolOptions

Constants

DEFAULT_IDLE_TTL

private DEFAULT_MIN_RETAINED_OBJECTS

private DEFAULT_MAX_OBJECTS

private DEFAULT_WAIT_TIMEOUT

private DEFAULT_MAX_LIFETIME

private DEFAULT_MAX_IDLE_TIME

Methods

static PoolOptions
fromArray(array $options)

Create normalized pool options from configuration.

bool
equals(PoolOptions $other)

Determine if these options equal another normalized option set.

array
toArray()

Get the normalized options as an array.

Details

at line 39
static PoolOptions fromArray(array $options)

Create normalized pool options from configuration.

Parameters

array $options

Return Value

PoolOptions

at line 112
bool equals(PoolOptions $other)

Determine if these options equal another normalized option set.

Parameters

PoolOptions $other

Return Value

bool

at line 134
array toArray()

Get the normalized options as an array.

Return Value

array