org.eclipse.net4j.util.om.monitor
Class AbstractMonitor.AsyncTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.eclipse.net4j.util.concurrent.TrackableTimerTask
          extended by org.eclipse.net4j.util.om.monitor.AbstractMonitor.AsyncTimerTask
All Implemented Interfaces:
Runnable, OMMonitor.Async
Enclosing class:
AbstractMonitor

public static class AbstractMonitor.AsyncTimerTask
extends TrackableTimerTask
implements OMMonitor.Async


Field Summary
 
Fields inherited from class org.eclipse.net4j.util.concurrent.TrackableTimerTask
TRACK_TIMER_TASKS
 
Constructor Summary
AbstractMonitor.AsyncTimerTask(AbstractMonitor parent, double parentWork, double timeFactor)
           
 
Method Summary
 boolean cancel()
           
 void run()
           
 void stop()
           
 
Methods inherited from class org.eclipse.net4j.util.concurrent.TrackableTimerTask
getConstructionStackTraces, logConstructionStackTraces
 
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMonitor.AsyncTimerTask

public AbstractMonitor.AsyncTimerTask(AbstractMonitor parent,
                                      double parentWork,
                                      double timeFactor)
Method Detail

run

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

stop

public void stop()
Specified by:
stop in interface OMMonitor.Async

cancel

public boolean cancel()
Overrides:
cancel in class TrackableTimerTask


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.