\Yesf\ConnectionPoolInterface

Summary

Methods
Constants
initPool()
getConnection()
freeConnection()
close()
reconnect()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

initPool()

initPool(array  $config) 

Setup connection pool

Parameters

array $config

getConnection()

getConnection() : object

Get a connection from pool

Returns

object

freeConnection()

freeConnection(object  $connection) 

Put a connection into pool

Parameters

object $connection

close()

close() 

Close a connection

reconnect()

reconnect(object  $connection) 

Re-connect

Parameters

object $connection