ca.bc.gov.webade.dbpool
Class WebADEConnectionCacheMonitor

java.lang.Object
  extended byca.bc.gov.webade.dbpool.WebADEConnectionCacheMonitor
All Implemented Interfaces:
java.lang.Runnable

public class WebADEConnectionCacheMonitor
extends java.lang.Object
implements java.lang.Runnable

Author:
jross

Constructor Summary
WebADEConnectionCacheMonitor(WebADEConnectionCache cache, long sleepTime)
           
 
Method Summary
 boolean isRunning()
           
 void run()
           
 void startMonitor()
          Tells the monitor to start running.
 void stopMonitor()
          Tells the monitor to stop running.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebADEConnectionCacheMonitor

public WebADEConnectionCacheMonitor(WebADEConnectionCache cache,
                                    long sleepTime)
Parameters:
cache -
sleepTime -
Method Detail

startMonitor

public void startMonitor()
Tells the monitor to start running.


stopMonitor

public void stopMonitor()
Tells the monitor to stop running.


isRunning

public boolean isRunning()
Returns:
A flag indicating whether the monitor is currently running.

run

public void run()
Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()