The MongoPool class
Introduction
In version 1.2.0 of the driver, built-in connection pooling was introduced. This class gives you some control and information about pooling.
Note:
The functions in this class were originally static members of Mongo. It is highly recommended that you use these functions in the future, as the static Mongo functions are considered deprecated.
Table of Contents
- MongoPool::getSize - Get pool size for connection pools
- MongoPool::info - Returns information about all connection pools.
- MongoPool::setSize - Set the size for future connection pools.




