Mongo::getPoolSizeGet pool size for connection pools Description
public static int Mongo::getPoolSize
( void
)
Warning
This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::getSize instead. 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 |