Mongo::getPoolSizeGet pool size for connection pools Beschreibung
public static int Mongo::getPoolSize
( void
)
Warnung
This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::getSize instead. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns the current pool size. Changelog
BeispieleBeispiel #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 |