Definition at line 64 of file Pool.java.
|
Pool constructor
Definition at line 600 of file Pool.java. References org.objectweb.jonas.jtm.TransactionService.getTransactionManager(), org.objectweb.jonas.service.ServiceManager.getTransactionService(), and org.objectweb.jonas.dbm.ConnectionManager.xads. |
Here is the call graph for this function:
|
Adjust the pool size, according to poolMax and poolMin values. Also remove old connections in the freeList. Definition at line 912 of file Pool.java. References org.objectweb.jonas.dbm.PoolItem.inactive(), org.objectweb.jonas.dbm.PoolItem.isAged(), and org.objectweb.jonas.dbm.PoolItem.remove(). Referenced by org.objectweb.jonas.dbm.PoolKeeper.run(). |
Here is the call graph for this function:
|
Close all connections in the pool, when server is shut down. |
|
Mark a specific Connection in the pool as closed. If it is no longer associated to a Tx, we can free it.
Definition at line 847 of file Pool.java. References org.objectweb.jonas.dbm.PoolItem.close(), org.objectweb.jonas.dbm.PoolItem.getTx(), and org.objectweb.jonas.dbm.PoolItem.isClosed(). Referenced by org.objectweb.jonas.dbm.ConnectionManager.connectionClosed(), and org.objectweb.jonas.dbm.ConnectionManager.connectionErrorOccurred(). |
Here is the call graph for this function:
|
The transaction has committed (or rolled back). We can return its connections to the pool of available connections.
Definition at line 820 of file Pool.java. References org.objectweb.jonas.dbm.PoolItem.isOpen(), org.objectweb.jonas.dbm.PoolItem.remove(), and org.objectweb.jonas.dbm.PoolItem.setTx(). Referenced by org.objectweb.jonas.dbm.PoolItem.afterCompletion(). |
Here is the call graph for this function:
|
Definition at line 395 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getBusyMax(). |
|
Definition at line 407 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getBusyMin(). |
|
Definition at line 352 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcConnCheckLevel(), and org.objectweb.jonas.dbm.ConnectionManager.getReference(). |
|
Definition at line 443 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getConnectionFailures(). |
|
Definition at line 457 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getConnectionLeaks(). |
|
Definition at line 630 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getCurrentBusy(). |
|
Definition at line 650 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getCurrentInTx(). |
|
Definition at line 623 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getCurrentOpened(), and org.objectweb.jonas.dbm.ConnectionManager.getCurrentOpened(). |
|
Definition at line 419 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getCurrentWaiters(). |
|
Definition at line 226 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcConnMaxAge(), and org.objectweb.jonas.dbm.ConnectionManager.getReference(). |
|
|
|
Definition at line 259 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcMaxOpenTime(), and org.objectweb.jonas.dbm.ConnectionManager.getReference(). |
|
Definition at line 266 of file Pool.java. Referenced by org.objectweb.jonas.dbm.PoolItem.open(). |
|
Definition at line 306 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcMaxWaiters(), org.objectweb.jonas.dbm.ConnectionManager.getReference(), and org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(). |
|
Definition at line 287 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcMaxWaitTime(), org.objectweb.jonas.dbm.ConnectionManager.getReference(), and org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(). |
|
Definition at line 431 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getOpenedCount(). |
|
Definition at line 187 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcMaxConnPool(), org.objectweb.jonas.dbm.ConnectionManager.getReference(), and org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(). |
|
Definition at line 164 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcMinConnPool(), org.objectweb.jonas.dbm.ConnectionManager.getReference(), and org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(). |
|
Definition at line 481 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getRejectedFull(). |
|
Definition at line 512 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getRejectedOpen(). |
|
Definition at line 505 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getRejectedOther(). |
|
Definition at line 493 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getRejectedTimeout(). |
|
Definition at line 325 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcSamplingPeriod(), org.objectweb.jonas.dbm.ConnectionManager.getReference(), and org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(). |
|
Definition at line 469 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getServedOpen(). |
|
Definition at line 371 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getJdbcTestStatement(), and org.objectweb.jonas.dbm.ConnectionManager.getReference(). |
|
Definition at line 548 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaiterCount(). |
|
Definition at line 524 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaitersHigh(). |
|
Definition at line 536 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaitersHighRecent(). |
|
Definition at line 572 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaitingHigh(). |
|
Definition at line 584 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaitingHighRecent(). |
|
Definition at line 560 of file Pool.java. Referenced by org.objectweb.jonas.dbm.JDBCDataSource.getWaitingTime(). |
|
lookup connection in the pool for this user/tx
optimization is probably possible at this point Definition at line 661 of file Pool.java. References org.objectweb.jonas.jdbc_xa.ConnectionImpl.close(), org.objectweb.jonas.jdbc_xa.ConnectionImpl.createStatement(), org.objectweb.jonas.dbm.ConnectionManager.getDatasourceName(), org.objectweb.jonas.dbm.PoolItem.getXACon(), org.objectweb.jonas.jdbc_xa.ConnectionImpl.isPhysicallyClosed(), org.objectweb.jonas.dbm.PoolItem.open, and org.objectweb.jonas.dbm.PoolItem.setTx(). Referenced by org.objectweb.jonas.dbm.ConnectionManager.getConnection(). |
Here is the call graph for this function:
|
compute current min/max busyConnections |
|
make samples with some monitoring values Definition at line 889 of file Pool.java. Referenced by org.objectweb.jonas.dbm.PoolKeeper.run(). |
|
Definition at line 359 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcConnCheckLevel(). |
|
Definition at line 240 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcConnMaxAge(). |
|
Definition at line 273 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcMaxOpenTime(). |
|
Definition at line 313 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcMaxWaiters(). |
|
Definition at line 294 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcMaxWaitTime(). |
|
Definition at line 194 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcMaxConnPool(). |
|
Definition at line 171 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcMinConnPool(). |
|
Definition at line 332 of file Pool.java. References org.objectweb.jonas.dbm.PoolKeeper.setSamplingPeriod(). Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcSamplingPeriod(). |
Here is the call graph for this function:
|
Definition at line 378 of file Pool.java. Referenced by org.objectweb.jonas.dbm.ConnectionManager.poolConfigure(), and org.objectweb.jonas.dbm.JDBCDataSource.setJdbcTestStatement(). |