MongoPool::getSizeGet pool size for connection pools Description
public static int MongoPool::getSize
( void
)
ParametersThis function has no parameters. Return ValuesReturns the current pool size. Changelog
ExamplesExample #1 Changing pool size This returns the default pool size, sets a new pool size, then prints the new pool size and the pool debugging information. Note that changing the pool size only affects new connection pools, it does not change old ones.
<?php |