| |
|
| java.lang.Object java.lang.Thread org.objectweb.jonas.resource.pool.lib.HArrayPoolMonitor
HArrayPoolMonitor | public class HArrayPoolMonitor extends Thread (Code) | | Keeps pool as small as possible (after conn's has reached MaxAge)
author: Eric Hardesty author: Contributor(s): |
HArrayPoolMonitor | public HArrayPoolMonitor(Pool pool, String jndiName)(Code) | | Pool monitor constructor
Parameters: pool - Pool to monitor |
run | public void run()(Code) | | Run the array pool monitor
|
setAdjustPeriod | public void setAdjustPeriod(int sec)(Code) | | Set the adjust period.
Moreover, this can be reconfigured later.
Parameters: sec - adjust period in sec. |
setSamplingPeriod | public void setSamplingPeriod(int sec)(Code) | | Set the sampling period.
Moreover, this can be reconfigured later.
Parameters: sec - sampling period in sec. |
setValidationPeriod | public void setValidationPeriod(int sec)(Code) | | Set the validation period.
Moreover, this can be reconfigured later.
Parameters: sec - validation period in sec. |
stopit | public void stopit()(Code) | | Stop this thread.
|
|
|
|