henplus.commands
Class LongRunningTimeDisplay
java.lang.Object
henplus.commands.LongRunningTimeDisplay
- All Implemented Interfaces:
- Runnable
public class LongRunningTimeDisplay
- extends Object
- implements Runnable
After arming, this runnable will display the current time
after some timeout. Used in long running SQL-statements
to show a) how long it took so far b) keep terminal
sessions open that are otherwise being closed by some
firewalls :-)
- Version:
- $Revision: 1.1 $
- Author:
- hzeller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongRunningTimeDisplay
public LongRunningTimeDisplay(String msg,
long showAfter)
arm
public void arm()
disarm
public void disarm()
stopThread
public void stopThread()
run
public void run()
- Specified by:
run
in interface Runnable
? 1997..2006 Henner Zeller