Use the context pool parameters to improve the performance of concurrent access to an LDAP server.
This parameter is mandatory for enabling the pool. If this parameter is not specified or specified with a value less than or equal to 0, the pool is disabled. If the pool is disabled, virtual member manager only reuses one connection.
The value of this parameter must be larger than 0 and, in general, less than 10. The default value is 1.
If this parameter is set to 0, a new connection is created for each request and no connection are put into the pool for reuse. If this parameter is set to -1 or any negative number, the connection does not expire and is reused until the connection is turned off (for example by a firewall or a socket timeout). The default value is -1.
If the connection is turned off, virtual member manager waits for the connection to throw a communication exception and for a new connection to be created. To avoid the waiting time, you can set the poolWaitTime to a shorter time.
This parameter applies only if the connection pool is enabled.