Class SoftLimitLdapPool

  • All Implemented Interfaces:
    LdapPool<Ldap>

    public class SoftLimitLdapPool
    extends BlockingLdapPool
    SoftLimitLdapPool implements a pool of ldap objects that has a set minimum and maximum size. The pool will grow beyond it's maximum size as necessary based on it's current load. Pool size will return to it's minimum based on the configuration of the prune timer. See LdapPoolConfig.setPruneTimerPeriod(long) and LdapPoolConfig.setExpirationTime(long). This implementation should be used when you have some flexibility in the number of ldap connections that can be created to handle spikes in load. See AbstractLdapPool. Note that this pool will begin blocking if it cannot create new ldap connections.
    Version:
    $Revision: 2241 $ $Date: 2012-02-07 21:08:51 +0100 (Tue, 07 Feb 2012) $
    Author:
    Middleware Services