org.jpos.util
Class WatchDog

java.lang.Object
  extended by java.util.TimerTask
      extended by org.jpos.util.WatchDog
All Implemented Interfaces:
Runnable

public class WatchDog
extends TimerTask

WatchDog will issue a warning message if not canceled on time


Constructor Summary
WatchDog(long maxWait, String message)
           
 
Method Summary
 void run()
           
 void setLogName(String logName)
           
 void setRealm(String realm)
           
 
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

WatchDog

public WatchDog(long maxWait,
                String message)
Method Detail

setLogName

public void setLogName(String logName)

setRealm

public void setRealm(String realm)

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask


Copyright © 1998-2012 jPOS.org. All Rights Reserved.