Public Member Functions | |
HArrayPool (Logger logger) | |
int | getCurrentBusy () |
int | getCurrentOpened () |
int | getInitSize () |
synchronized void | setInitSize (int initsize) throws Exception |
long | getMaxAge () |
void | setMaxAge (long maxAge) |
long | getMaxOpentime () |
void | setMaxOpentime (long mx) |
int | getMaxSize () |
synchronized void | setMaxSize (int maxsize) throws Exception |
int | getMaxWaiters () |
void | setMaxWaiters (int nb) |
int | getMaxWaitTime () |
void | setMaxWaitTime (int sec) |
int | getMinSize () |
synchronized void | setMinSize (int minsize) throws Exception |
int | getSamplingPeriod () |
void | setSamplingPeriod (int sec) |
int | getSize () |
long | getTimeout () |
synchronized void | setTimeout (long crto) |
int | getBusyMaxRecent () |
int | getBusyMinRecent () |
int | getCurrentWaiters () |
int | getOpenedCount () |
int | getConnectionFailures () |
int | getConnectionLeaks () |
int | getServedOpen () |
int | getRejectedFull () |
int | getRejectedTimeout () |
int | getRejectedOther () |
int | getRejectedOpen () |
int | getWaitersHigh () |
int | getWaitersHighRecent () |
int | getWaiterCount () |
long | getWaitingTime () |
long | getWaitingHigh () |
long | getWaitingHighRecent () |
synchronized Object | getResource (Object hints) throws Exception |
synchronized void | releaseResource (Object resource, boolean destroy, boolean adjustment) throws Exception |
PoolMatchFactory | getMatchFactory () |
synchronized void | setMatchFactory (PoolMatchFactory pmf) |
void | startMonitor () |
void | validateMCs () throws Exception |
synchronized void | adjust () throws Exception |
void | recomputeBusy () |
void | sampling () throws Exception |
Package Functions | |
void | printLists () |
Updated to use an LRU list of free resources
Author: Eric HARDESTY
Definition at line 55 of file HArrayPool.java.
|
HArrayPool constructor
Definition at line 173 of file HArrayPool.java. |
|
Adjust the pool size, according to poolMax and minSize values. Also remove old connections in the freeList.
Definition at line 816 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.api.PoolItemStats.getMaxOpenTimeout(), org.objectweb.jonas.resource.pool.lib.HArrayPool.recomputeBusy(), and org.objectweb.jonas.resource.pool.lib.HArrayPool.releaseResource(). Referenced by org.objectweb.jonas.resource.pool.lib.HArrayPool.releaseResource(), org.objectweb.jonas.resource.pool.lib.HArrayPool.setMaxSize(), and org.objectweb.jonas.resource.pool.lib.HArrayPool.setMinSize(). |
Here is the call graph for this function:
|
Definition at line 415 of file HArrayPool.java. |
|
Definition at line 427 of file HArrayPool.java. |
|
Definition at line 463 of file HArrayPool.java. |
|
Definition at line 477 of file HArrayPool.java. |
|
Definition at line 188 of file HArrayPool.java. Referenced by org.objectweb.jonas.resource.pool.lib.HArrayPool.recomputeBusy(), and org.objectweb.jonas.resource.pool.lib.HArrayPool.sampling(). |
|
Definition at line 195 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.getSize(). |
Here is the call graph for this function:
|
Definition at line 439 of file HArrayPool.java. |
|
Definition at line 202 of file HArrayPool.java. |
|
Definition at line 785 of file HArrayPool.java. |
|
Definition at line 249 of file HArrayPool.java. |
|
Definition at line 266 of file HArrayPool.java. |
|
Definition at line 280 of file HArrayPool.java. |
|
Definition at line 313 of file HArrayPool.java. |
|
Definition at line 327 of file HArrayPool.java. |
|
Definition at line 341 of file HArrayPool.java. |
|
Definition at line 451 of file HArrayPool.java. |
|
Definition at line 501 of file HArrayPool.java. |
|
Definition at line 532 of file HArrayPool.java. |
|
Definition at line 525 of file HArrayPool.java. |
|
Definition at line 513 of file HArrayPool.java. |
|
Definition at line 613 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.printLists(), and org.objectweb.jonas.resource.pool.lib.HArrayPool.recomputeBusy(). |
Here is the call graph for this function:
|
Definition at line 366 of file HArrayPool.java. |
|
Definition at line 489 of file HArrayPool.java. |
|
Get the size of the pool
Definition at line 384 of file HArrayPool.java. Referenced by org.objectweb.jonas.resource.pool.lib.HArrayPool.getCurrentOpened(). |
|
Definition at line 391 of file HArrayPool.java. |
|
Definition at line 568 of file HArrayPool.java. |
|
Definition at line 544 of file HArrayPool.java. |
|
Definition at line 556 of file HArrayPool.java. |
|
Definition at line 592 of file HArrayPool.java. |
|
Definition at line 604 of file HArrayPool.java. |
|
Definition at line 580 of file HArrayPool.java. |
|
Print information about the pool Definition at line 969 of file HArrayPool.java. Referenced by org.objectweb.jonas.resource.pool.lib.HArrayPool.getResource(). |
|
compute current min/max busyConnections Definition at line 912 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.getCurrentBusy(). Referenced by org.objectweb.jonas.resource.pool.lib.HArrayPool.adjust(), and org.objectweb.jonas.resource.pool.lib.HArrayPool.getResource(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 925 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.getCurrentBusy(). |
Here is the call graph for this function:
|
Definition at line 209 of file HArrayPool.java. |
|
Definition at line 792 of file HArrayPool.java. |
|
Definition at line 256 of file HArrayPool.java. |
|
Definition at line 273 of file HArrayPool.java. |
|
Definition at line 287 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.adjust(). |
Here is the call graph for this function:
|
Definition at line 320 of file HArrayPool.java. |
|
Definition at line 334 of file HArrayPool.java. |
|
Definition at line 348 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPool.adjust(). |
Here is the call graph for this function:
|
Definition at line 373 of file HArrayPool.java. References org.objectweb.jonas.resource.pool.lib.HArrayPoolMonitor.setSamplingPeriod(). |
Here is the call graph for this function:
|
Definition at line 398 of file HArrayPool.java. |
|
Definition at line 799 of file HArrayPool.java. |
|
Definition at line 807 of file HArrayPool.java. |