org.apache.droids.monitor
Class SimpleWorkMonitor<T extends Task>
java.lang.Object
org.apache.droids.monitor.SimpleWorkMonitor<T>
- All Implemented Interfaces:
- WorkMonitor<T>
public class SimpleWorkMonitor<T extends Task>
- extends java.lang.Object
- implements WorkMonitor<T>
A simple
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleWorkMonitor
public SimpleWorkMonitor()
beforeExecute
public void beforeExecute(T task,
Worker<T> worker)
- Specified by:
beforeExecute in interface WorkMonitor<T extends Task>
afterExecute
public void afterExecute(T task,
Worker<T> worker,
java.lang.Exception ex)
- Specified by:
afterExecute in interface WorkMonitor<T extends Task>
getRunningTasks
public java.util.Collection<WorkBean<T>> getRunningTasks()
getWorkBean
public WorkBean<T> getWorkBean(T task)
Copyright © 2007-2009. All Rights Reserved.