PoolInterface
interface PoolInterface
Methods
string
getName()
Get the pool name.
get()
Get a connection from the connection pool.
void
void
void
flush()
Close idle connections while the total managed count exceeds the configured minimum.
void
close()
Close the connection pool and release its resources.
bool
isClosed()
Determine if the connection pool is closed.
getOption()
Get the pool configuration options.
Details
at line 12
string
getName()
Get the pool name.
at line 17
ConnectionInterface
get()
Get a connection from the connection pool.
at line 22
void
release(ConnectionInterface $connection)
Release a connection back to the connection pool.
at line 27
void
discard(ConnectionInterface $connection)
Discard a borrowed connection from the connection pool.
at line 32
void
flush()
Close idle connections while the total managed count exceeds the configured minimum.
at line 37
void
close()
Close the connection pool and release its resources.
at line 42
bool
isClosed()
Determine if the connection pool is closed.
at line 47
PoolOptionInterface
getOption()
Get the pool configuration options.