Uses of Class
org.forgerock.opendj.ldap.ConnectionPool
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
-
Uses of ConnectionPool in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionstatic 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 maintainpoolSize
connections created using the provided LDAP client.Modifier and TypeMethodDescriptionvoid
ConnectionPoolEventListener.handlePoolGrowing
(ConnectionPool connectionPool) Invoked when the connection pool is growing, i.e.void
ConnectionPoolEventListener.handlePoolShrinking
(ConnectionPool connectionPool) Invoked when the connection pool is shrinking, i.e.