com.jolbox.bonecp
Class ConnectionTesterThread

java.lang.Object
  extended by com.jolbox.bonecp.ConnectionTesterThread
All Implemented Interfaces:
java.lang.Runnable

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

Periodically sends a keep-alive statement to idle threads and kills off any connections that have been unused for a long time (or broken).

Author:
wwadge

Method Summary
 void run()
          Invoked periodically.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Invoked periodically.

Specified by:
run in interface java.lang.Runnable


Copyright © 2009-2011 JolBox. All Rights Reserved.