static ConnectionPool |
LdapClients.newCachedConnectionPool(LdapClient client) |
Creates a new connection pool which creates new connections as needed
using the provided LDAP client, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
LdapClients.newCachedConnectionPool(LdapClient client,
int corePoolSize,
int maximumPoolSize,
long idleTimeout,
TimeUnit unit) |
Creates a new connection pool which creates new connections as needed
using the provided LDAP client, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
LdapClients.newCachedConnectionPool(LdapClient client,
int corePoolSize,
int maximumPoolSize,
long idleTimeout,
TimeUnit unit,
ScheduledExecutorService scheduler) |
Creates a new connection pool which creates new connections as needed
using the provided LDAP client, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
LdapClients.newCachedConnectionPool(LdapClient client,
Options options) |
Creates a new connection pool which creates new connections as needed using the provided LDAP client, but will
reuse previously allocated connections when they are available.
|
static ConnectionPool |
LdapClients.newFixedConnectionPool(LdapClient client,
int poolSize) |
Creates a new connection pool which will maintain poolSize connections created using the provided LDAP
client.
|