| 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 |
Connections.newCachedConnectionPool(ConnectionFactory factory)
Creates a new connection pool which creates new connections as needed
using the provided connection factory, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
Connections.newCachedConnectionPool(ConnectionFactory factory,
int corePoolSize,
int maximumPoolSize,
long idleTimeout,
TimeUnit unit)
Creates a new connection pool which creates new connections as needed
using the provided connection factory, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
Connections.newCachedConnectionPool(ConnectionFactory factory,
int corePoolSize,
int maximumPoolSize,
long idleTimeout,
TimeUnit unit,
ScheduledExecutorService scheduler)
Creates a new connection pool which creates new connections as needed
using the provided connection factory, but will reuse previously
allocated connections when they are available.
|
static ConnectionPool |
Connections.newFixedConnectionPool(ConnectionFactory factory,
int poolSize)
Creates a new connection pool which will maintain
poolSize
connections created using the provided connection factory. |
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.