org.apache.felix.eventadmin.impl.tasks
Class ResumeTask
java.lang.Object
org.apache.felix.eventadmin.impl.tasks.ResumeTask
- All Implemented Interfaces:
- HandlerTask
public class ResumeTask
- extends Object
- implements HandlerTask
A task that wakes-up a disabled DispatchTask. Additionally, it will
stop the currently running task.
- Author:
- Felix Project Team
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 |
ResumeTask
public ResumeTask(DispatchTask target,
ThreadPool pool)
- Parameters:
target
- The task to wake-up on executionpool
- The pool used to get the task to stop on execution
execute
public void execute()
- Stop the current task and wake-up the target.
- Specified by:
execute
in interface HandlerTask
- See Also:
HandlerTask.execute()
blackListHandler
public void blackListHandler()
- This does nothing since this task is only used to wake-up disabled tasks.
- Specified by:
blackListHandler
in interface HandlerTask
- See Also:
HandlerTask.blackListHandler()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.