org.objectweb.jonas.resource.pool.lib
Class HArrayPoolMonitor

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.objectweb.jonas.resource.pool.lib.HArrayPoolMonitor
All Implemented Interfaces:
java.lang.Runnable

public class HArrayPoolMonitor
extends java.lang.Thread

Keeps pool as small as possible (after conn's has reached MaxAge)

Author:
Eric Hardesty Contributor(s):

Field Summary
protected  org.objectweb.util.monolog.api.Logger logger
           
protected  Pool pool
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HArrayPoolMonitor(Pool _pool)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pool

protected Pool pool

logger

protected org.objectweb.util.monolog.api.Logger logger
Constructor Detail

HArrayPoolMonitor

public HArrayPoolMonitor(Pool _pool)
Method Detail

run

public void run()