Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
Modifier and Type | Method and Description |
---|---|
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.newFixedConnectionPool(LdapClient client,
int poolSize)
Creates a new connection pool which will maintain
poolSize
connections created using the provided LDAP client. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.