org.jboss.resource.connectionmanager
Interface PreFillPoolSupport

All Known Implementing Classes:
JBossManagedConnectionPool.BasePool, JBossManagedConnectionPool.OnePool, JBossManagedConnectionPool.PoolByCri, JBossManagedConnectionPool.PoolBySubject, JBossManagedConnectionPool.PoolBySubjectAndCri

public interface PreFillPoolSupport

PreFillPoolSupport allows for prefilling connection pools.

Version:
$Revision: 57189 $
Author:
Weston Price

Method Summary
 void prefill()
          Prefill the connection pool
 void prefill(boolean noTxSeperatePool)
          Prefill the connection pool
 void prefill(Subject subject, javax.resource.spi.ConnectionRequestInfo cri, boolean noTxnSeperatePool)
          Prefill the connection pool
 boolean shouldPreFill()
          Get the flag indicating whether or not to attempt to prefill this pool.
 

Method Detail

prefill

void prefill()
Prefill the connection pool


prefill

void prefill(boolean noTxSeperatePool)
Prefill the connection pool

Parameters:
noTxSeperatePool - whether or not we are seperating non transaction and transaction pools

prefill

void prefill(Subject subject,
             javax.resource.spi.ConnectionRequestInfo cri,
             boolean noTxnSeperatePool)
Prefill the connection pool

Parameters:
subject - the subject the subject
cri - the connection request info
noTxnSeperatePool - whether or not we are seperating non transaction and transaction pools

shouldPreFill

boolean shouldPreFill()
Get the flag indicating whether or not to attempt to prefill this pool.

Returns:
true or false depending on whether or not to prefill this pool.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.