The MongoPool class

(No version information available, might only be in Git)

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.

Class synopsis

MongoPool {
/* Methods */
public static int getSize ( void )
public array info ( void )
public static bool setSize ( int $size )
}

Table of Contents