MongoPool::getSizeGet pool size for connection pools
&reftitle.description;
publicstaticintMongoPool::getSize
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns the current pool size.
&reftitle.changelog;
&Version;&Description;1.2.11Emits E_DEPRECATED when used.
&reftitle.examples;
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.
]]>
&reftitle.seealso;
MongoPool::setSizeMongoPool::infoThe connection documentation.