|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.eventadmin.impl.tasks.ResumeTask
public class ResumeTask
A task that wakes-up a disabled DispatchTask. Additionally, it will stop the currently running task.
Constructor Summary | |
---|---|
ResumeTask(DispatchTask target,
ThreadPool pool)
|
Method Summary | |
---|---|
void |
blackListHandler()
This does nothing since this task is only used to wake-up disabled tasks. |
void |
execute()
Stop the current task and wake-up the target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResumeTask(DispatchTask target, ThreadPool pool)
target
- The task to wake-up on executionpool
- The pool used to get the task to stop on executionMethod Detail |
---|
public void execute()
execute
in interface HandlerTask
HandlerTask.execute()
public void blackListHandler()
blackListHandler
in interface HandlerTask
HandlerTask.blackListHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |