PHP 클래스 MongoPool

파일 보기 프로젝트 열기: alcaeus/mongo-php-adapter 1 사용 예제들

공개 메소드들

메소드 설명
getSize ( ) : integer Get pool size for connection pools
info ( ) : array Returns an array of information about all connection pools.
setSize ( integer $size ) : boolean Sets the max number of connections new pools will be able to create.

메소드 상세

getSize() 공개 정적인 메소드

Get pool size for connection pools
public static getSize ( ) : integer
리턴 integer Returns the current pool size

info() 공개 정적인 메소드

Returns an array of information about all connection pools.
public static info ( ) : array
리턴 array

setSize() 공개 정적인 메소드

Sets the max number of connections new pools will be able to create.
public static setSize ( integer $size ) : boolean
$size integer
리턴 boolean Returns the former value of pool size