org.jboss.soa.esb.connection
Class AbandonedConnectionTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.jboss.soa.esb.connection.AbandonedConnectionTimerTask
All Implemented Interfaces:
java.lang.Runnable

public class AbandonedConnectionTimerTask
extends java.util.TimerTask

Timer task which will run at scheduled times based on the property set by the user. This task will remove all unused connections which have elapsed a certain period of time

Author:
MohitK Date: Jul 26, 2006

Constructor Summary
AbandonedConnectionTimerTask(DefaultConnectionPoolImpl pool)
          Constructor which takes the pool implementation
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbandonedConnectionTimerTask

public AbandonedConnectionTimerTask(DefaultConnectionPoolImpl pool)
Constructor which takes the pool implementation

Parameters:
pool -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask