public interface Pool
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush idle connections from the pool
|
void |
flush(boolean kill)
Flush the pool
|
void |
flush(FlushMode mode)
Flush the pool
|
java.lang.String |
getName()
Gets pool name.
|
PoolStatistics |
getStatistics()
Get the statistics
|
boolean |
testConnection()
Test if a connection can be obtained
|
boolean |
testConnection(javax.resource.spi.ConnectionRequestInfo cri,
javax.security.auth.Subject subject)
Test if a connection can be obtained
|
java.lang.String getName()
void flush()
void flush(boolean kill)
kill
- Kill all connectionsvoid flush(FlushMode mode)
mode
- The flush modeboolean testConnection()
boolean testConnection(javax.resource.spi.ConnectionRequestInfo cri, javax.security.auth.Subject subject)
cri
- Optional connection request info objectsubject
- Optional subjectPoolStatistics getStatistics()
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)