MongoPool::getSizeGet pool size for connection pools Beschreibung
public static int MongoPool::getSize
( void
)
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 |