public abstract class AbstractPrefillPool extends AbstractPool implements PrefillPool
log
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrefillPool(javax.resource.spi.ManagedConnectionFactory mcf,
PoolConfiguration pc,
boolean noTxSeparatePools,
boolean sharable,
java.lang.String mcp)
Create a new prefill pool.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isPrefill()
Is prefill
|
void |
prefill(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean noTxnSeperatePool)
Prefill the connection pool
|
cancelShutdown, dumpQueuedThreads, emptyManagedConnectionPool, findConnectionListener, findConnectionListener, flush, flush, flush, getCapacity, getConnection, getConnectionManager, getInternalStatistics, getKey, getLock, getLogger, getManagedConnectionFactory, getManagedConnectionPool, getManagedConnectionPools, getName, getPoolConfiguration, getStatistics, getTransactionIntegration, getTransactionManager, getTransactionSynchronizationRegistry, hasConnection, internalTestConnection, isFIFO, isFull, isIdle, isInterleaving, isSharable, isShutdown, prepareShutdown, returnConnection, setCapacity, setConnectionManager, setInterleaving, setName, shutdown, testConnection, testConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelShutdown, emptyManagedConnectionPool, findConnectionListener, findConnectionListener, getCapacity, getConnection, getInternalStatistics, getLock, getLogger, getManagedConnectionFactory, hasConnection, isFIFO, isFull, isIdle, isInterleaving, isSharable, isShutdown, prepareShutdown, returnConnection, setCapacity, setConnectionManager, setInterleaving, setName, shutdown
dumpQueuedThreads, flush, flush, flush, getName, getStatistics, testConnection, testConnection
protected AbstractPrefillPool(javax.resource.spi.ManagedConnectionFactory mcf, PoolConfiguration pc, boolean noTxSeparatePools, boolean sharable, java.lang.String mcp)
mcf
- the managed connection factorypc
- the pool configurationnoTxSeparatePools
- noTxSeparatePoolsharable
- Are the connections sharablemcp
- mcppublic void prefill(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri, boolean noTxnSeperatePool)
prefill
in interface PrefillPool
subject
- the subject the subjectcri
- the connection request infonoTxnSeperatePool
- whether or not we are seperating non transaction and transaction poolsprotected boolean isPrefill()
isPrefill
in class AbstractPool
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)