PHP 클래스 Amp\Mysql\ConnectionPool

파일 보기 프로젝트 열기: amphp/mysql

공개 메소드들

메소드 설명
__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 )