Uses of Class
org.forgerock.opendj.ldap.ConnectionPool
Packages that use ConnectionPool
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
-
Uses of ConnectionPool in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return ConnectionPoolModifier and TypeMethodDescriptionstatic ConnectionPoolLdapClients.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 ConnectionPoolLdapClients.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 ConnectionPoolLdapClients.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 ConnectionPoolLdapClients.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 ConnectionPoolLdapClients.newFixedConnectionPool(LdapClient client, int poolSize) Creates a new connection pool which will maintainpoolSizeconnections created using the provided LDAP client.Methods in org.forgerock.opendj.ldap with parameters of type ConnectionPoolModifier and TypeMethodDescriptionvoidConnectionPoolEventListener.handlePoolGrowing(ConnectionPool connectionPool) Invoked when the connection pool is growing, i.e.voidConnectionPoolEventListener.handlePoolShrinking(ConnectionPool connectionPool) Invoked when the connection pool is shrinking, i.e.