org.objectweb.dream.control.activity.scheduler
Interface InterruptTask

All Known Subinterfaces:
SchedulerManager
All Known Implementing Classes:
AbstractSchedulerManager, ForwarderSchedulerImpl, MetaSchedulerManagerImpl, MultiThreadForwarderSchedulerImpl, PeriodicSchedulerImpl, PeriodicSchedulerManagerImpl, ThreadPerTaskSchedulerManagerImpl, ThreadPoolPerTaskSchedulerManagerImpl

public interface InterruptTask

Interface provided by scheduler that can be used to interrupt the execution of a task.


Method Summary
 void interruptTask(Task task)
          Interrupts the given task.
 

Method Detail

interruptTask

void interruptTask(Task task)
                   throws IllegalTaskException
Interrupts the given task. When the task ends its execution the activity manager will be notified using the EndOfTaskinterface.

Parameters:
task - the task to interrupt.
Throws:
IllegalTaskException - if the given task is unknown.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.