The MongoPool class

(PECL mongo >= 1.2.3)

Introduction

Warning

The current (1.3.0+) releases of the driver no longer implements pooling. This class and its methods are therefore deprecated and should not be used.

Class synopsis

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

Changelog

Version Description
PECL mongo 1.3.0 This functionality has been removed and no longer does anything other than emit deprecation warnings. This class is only kept around for backwards compatibility and will be removed in the near future.
PECL mongo 1.2.11 Emits E_DEPRECATED when used.

Table of Contents