PHP Класс Amp\Mysql\ConnectionPool

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $config, $limit )
__destruct ( )
addConnection ( )
close ( )
extractConnection ( )
getConnectionPromise ( )
getReadyConnection ( ) : Amp\Mysql\Connection
setCharset ( $charset, $collate = "" ) First parameter may be collation too, then charset is determined by the prefix of collation
useExceptions ( $set )

Приватные методы

Метод Описание
ready ( $conn )
unmapConnection ( $conn ) * This method might be called multiple times with the same hash. Important is that it's unmapped immediately

Описание методов

__construct() публичный метод

public __construct ( $config, $limit )

__destruct() публичный метод

public __destruct ( )

addConnection() публичный метод

public addConnection ( )

close() публичный метод

public close ( )

extractConnection() публичный метод

public extractConnection ( )

getConnectionPromise() публичный метод

getReadyConnection() публичный метод

public getReadyConnection ( ) : Amp\Mysql\Connection
Результат Amp\Mysql\Connection

setCharset() публичный метод

First parameter may be collation too, then charset is determined by the prefix of collation
public setCharset ( $charset, $collate = "" )

useExceptions() публичный метод

public useExceptions ( $set )