PHP Класс MongoPool

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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