Public Member Functions | |
void | adjust () throws Exception |
Package Functions | |
PoolMatchFactory | getMatchFactory () |
long | getMaxOpentime () |
int | getMaxSize () |
int | getMaxWaiters () |
int | getMaxWaitTime () |
int | getMinSize () |
Object | getResource (Object hints) throws Exception |
int | getSamplingPeriod () throws Exception |
long | getTimeout () |
int | getSize () |
void | releaseResource (Object resource, boolean destroy, boolean adjustment) throws Exception |
void | sampling () throws Exception |
void | setInitSize (int initsize) throws Exception |
void | setMatchFactory (PoolMatchFactory pmf) |
void | setMaxAge (long maxAge) |
void | setMaxOpentime (long maxOpentime) |
void | setMaxSize (int maxsize) throws Exception |
void | setMaxWaiters (int maxWaiters) throws Exception |
void | setMaxWaitTime (int maxWaitTime) throws Exception |
void | setMinSize (int minsize) throws Exception |
void | setSamplingPeriod (int samplingPeriod) throws Exception |
void | setTimeout (long crto) |
void | startMonitor () |
void | validateMCs () throws Exception |
Definition at line 81 of file Pool.java.
|
adjust checks the age of the entries and removes them if they are too old
|
|
getMatchFactory retrieves the PoolMatchFactory assigned to this Pool.
|
|
getMaxOpentime gets the max age for a pool entry
|
|
getMaxSize retrieves the maximum size assigned to this Pool.
|
|
getMaxWaiters gets the maximum number of waiters for a connection in this Pool.
|
|
getMaxWaitTime gets the maximum number of seconds to wait for a connection in this Pool.
|
|
getMinSize retrieves the minimum size assigned to this Pool.
|
|
getResource is used to allocate a Object from the Pool. Some hints are passed in order to specialise the matching or creation of Object.
|
|
getSamplingPeriod gets the number of seconds between statistics sampling for this Pool.
|
|
getSize retrieves the current size of this Pool.
|
|
getTimeout retrieves the timeout assigned to this Pool.
|
|
releaseResource releases a Object in order to allow the Pool to recycle this Object.
Referenced by org.objectweb.jonas.resource.MySynchro.afterCompletion(). |
|
sampling updates the interval pool information
|
|
setInitSize creates initsize resoures to this Pool.
|
|
setMatchFactory assigns a PoolMatchFactory to this Pool.
|
|
setMaxAge sets the max age for a pool entry
|
|
setMaxOpentime sets the max age for a pool entry
|
|
setMaxSize assigns a maximum size to this Pool.
|
|
setMaxWaiters sets the maximum number of waiters for a connection in this Pool.
|
|
setMaxWaitTime sets the maximum number of seconds to wait for a connection in this Pool.
|
|
setMinSize assigns a minimum size to this Pool.
|
|
setSamplingPeriod sets the number of seconds between statistics sampling for this Pool.
|
|
setTimeout assigns a timeout to this Pool.
|
|
startMonitor starts the pool monitor for this Pool. |
|
validateMCs validates ManagedConnections in Pool every 10 minutes
|