Package | Description |
---|---|
org.ldaptive.pool |
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractConnectionPool.DefaultPooledConnectionProxy
Contains a connection that is participating in this pool.
|
Modifier and Type | Field and Description |
---|---|
protected Queue<PooledConnectionProxy> |
AbstractConnectionPool.active
List of connections in use.
|
protected Queue<PooledConnectionProxy> |
AbstractConnectionPool.available
List of available connections in the pool.
|
Modifier and Type | Method and Description |
---|---|
protected PooledConnectionProxy |
BlockingConnectionPool.blockAvailableConnection()
This blocks until a connection can be acquired.
|
protected PooledConnectionProxy |
AbstractConnectionPool.createActiveConnection()
Create a new connection and place it in the active pool.
|
protected PooledConnectionProxy |
AbstractConnectionPool.createActiveConnection(boolean throwOnFailure)
Create a new connection and place it in the active pool.
|
protected PooledConnectionProxy |
AbstractConnectionPool.createAvailableConnection()
Create a new connection and place it in the available pool.
|
protected PooledConnectionProxy |
AbstractConnectionPool.createAvailableConnection(boolean throwOnFailure)
Create a new connection and place it in the available pool.
|
protected PooledConnectionProxy |
AbstractConnectionPool.createConnection()
Create a new connection.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractConnectionPool.activateAndValidateConnection(PooledConnectionProxy pc)
Attempts to activate and validate a connection.
|
protected Connection |
AbstractConnectionPool.createConnectionProxy(PooledConnectionProxy pc)
Creates a connection proxy using the supplied pool connection.
|
boolean |
IdlePruneStrategy.prune(PooledConnectionProxy conn) |
boolean |
PruneStrategy.prune(PooledConnectionProxy conn)
Invoked to determine whether a connection should be pruned from the pool.
|
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.
|
protected boolean |
AbstractConnectionPool.validateAndPassivateConnection(PooledConnectionProxy pc)
Attempts to validate and passivate a connection.
|
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.