Properties

$connectionPool

$connectionPool

Connection management array( "connection" => connection resource id, "expire_time" => expire time, "schema" => default schema name, "charset" => char set / encoding )

$configHandle

$configHandle

$connectionAdapter

$connectionAdapter

$sqlAdapter

$sqlAdapter

$servers

$servers

Methods

getConnection()

getConnection(mixed  $group, mixed  $node, mixed  $role = "master") : mixed

Parameters

mixed $group
mixed $node
mixed $role

Returns

mixed —

getConnectionKey()

getConnectionKey(mixed  $connConf) : mixed

Parameters

mixed $connConf

Returns

mixed —

saveConnection()

saveConnection(mixed  $connConf, mixed  $connection, mixed  $ttl) : mixed

Parameters

mixed $connConf
mixed $connection
mixed $ttl

Returns

mixed —

getCachedConnection()

getCachedConnection(mixed  $group, mixed  $node, mixed  $role) : mixed

Parameters

mixed $group
mixed $node
mixed $role

Returns

mixed —

getNewConnection()

getNewConnection(mixed  $group, mixed  $node, mixed  $role) : mixed

Parameters

mixed $group
mixed $node
mixed $role

Returns

mixed —