Uses of Interface
org.ldaptive.pool.PooledConnectionProxy
-
Packages that use PooledConnectionProxy Package Description org.ldaptive.pool -
-
Uses of PooledConnectionProxy in org.ldaptive.pool
Classes in org.ldaptive.pool that implement PooledConnectionProxy Modifier and Type Class Description protected class
AbstractConnectionPool.DefaultPooledConnectionProxy
Contains a connection that is participating in this pool.Fields in org.ldaptive.pool with type parameters of type PooledConnectionProxy Modifier and Type Field Description protected Queue<PooledConnectionProxy>
AbstractConnectionPool. active
List of connections in use.protected Queue<PooledConnectionProxy>
AbstractConnectionPool. available
List of available connections in the pool.Methods in org.ldaptive.pool that return PooledConnectionProxy Modifier and Type Method Description protected PooledConnectionProxy
BlockingConnectionPool. blockAvailableConnection()
This blocks until a connection can be acquired.protected PooledConnectionProxy
AbstractConnectionPool. createActiveConnection(boolean throwOnFailure)
Create a new connection and place it in the active queue.protected PooledConnectionProxy
AbstractConnectionPool. createAvailableConnection(boolean throwOnFailure)
Create a new connection and place it in the available pool.protected PooledConnectionProxy
AbstractConnectionPool. createConnection(boolean throwOnFailure)
Create a new connection.protected PooledConnectionProxy
BlockingConnectionPool. retrieveAvailableConnection()
Attempts to retrieve a connection from the available queue.protected PooledConnectionProxy
AbstractConnectionPool. retrieveConnectionProxy(Connection proxy)
Retrieves the invocation handler from the supplied connection proxy.Methods in org.ldaptive.pool with parameters of type PooledConnectionProxy Modifier and Type Method Description protected void
AbstractConnectionPool. activateAndValidateConnection(PooledConnectionProxy pc)
Attempts to activate and validate a connection.Boolean
IdlePruneStrategy. apply(PooledConnectionProxy conn)
protected Connection
AbstractConnectionPool. createConnectionProxy(PooledConnectionProxy pc)
Creates a connection proxy using the supplied pool connection.protected boolean
AbstractConnectionPool. passivateAndValidateConnection(PooledConnectionProxy pc)
Attempts to passivate and validate a connection.protected void
AbstractConnectionPool. removeActiveConnection(PooledConnectionProxy pc)
Remove a connection from the active pool.protected void
AbstractConnectionPool. removeAvailableAndActiveConnection(PooledConnectionProxy pc)
Remove a connection from both the available and active pools.protected void
AbstractConnectionPool. removeAvailableConnection(PooledConnectionProxy pc)
Remove a connection from the available pool.
-