public interface Pool
Modifier and Type | Method and Description |
---|---|
String[] |
dumpQueuedThreads()
Dump the queued threads
|
void |
flush()
Flush idle connections from the pool
|
void |
flush(boolean kill)
Flush the pool
|
void |
flush(FlushMode mode)
Flush the pool
|
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,
Subject subject)
Test if a connection can be obtained
|
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, Subject subject)
cri
- Optional connection request info objectsubject
- Optional subjectPoolStatistics getStatistics()
String[] dumpQueuedThreads()
Copyright © 2021 JBoss by Red Hat. All rights reserved.