Package org.ldaptive.pool
-
Interface Summary Interface Description ConnectionActivator Provides an interface for activating connections when they are checked out from the pool.ConnectionPassivator Provides an interface for passivating connections when they are checked back into the pool.ConnectionPool Provides an interface for connection pooling.PooledConnectionProxy Provides an interface for metadata surrounding a connection that is participating in the connection pool.PruneStrategy Provides an interface for pruning connections from the pool.ValidationExceptionHandler Marker interface for a validation exception handler. -
Class Summary Class Description AbstractConnectionPool Contains the base implementation for pooling connections.AbstractPruneStrategy Base class for prune strategy implementations.AbstractPruneStrategy.AbstractBuilder<B,T extends AbstractPruneStrategy> Base class for prune strategy builders.AgePruneStrategy Removes connections from the pool based on how long they have existed.AgePruneStrategy.Builder Age prune strategy builder.BindConnectionPassivator Passivates a connection by performing a bind operation on it.BlockingConnectionPool Implements a pool of connections that has a set minimum and maximum size.IdlePruneStrategy Removes connections from the pool based on how long they have been idle in the available queue.IdlePruneStrategy.Builder Idle prune strategy builder.PooledConnectionStatistics Statistics associated with a connection's activity in the pool.Queue<T> Provides a wrapper around aDeque
to support LIFO and FIFO operations. -
Enum Summary Enum Description QueueType Enum to define queue type. -
Exception Summary Exception Description ActivationException Thrown when an attempt to activate a pooled connection fails.BlockingTimeoutException Thrown when a blocking operation times out.PoolException Base exception thrown when a pool operation fails.PoolExhaustedException Thrown when the pool is empty and no new requests can be serviced.ValidationException Thrown when an attempt to validate a pooled connection fails.