org.objectweb.dream.control.activity.manager
Interface EndOfThread
- All Known Implementing Classes:
- ThreadPerTaskSchedulerManagerImpl, ThreadPoolPerTaskSchedulerManagerImpl
public interface EndOfThread
Hidden control interface used by thread to notify activity manager that it
has finish its execution.
Method Summary |
boolean |
threadEnded(Task task)
Notifies the activity manager that the thread, the given task interface
belong, has ended its execution. |
ITF_NAME
static final String ITF_NAME
- default interface name.
- See Also:
- Constant Field Values
threadEnded
boolean threadEnded(Task task)
- Notifies the activity manager that the thread, the given task interface
belong, has ended its execution. This method returns if the thread should
restart or stop its execution.
- Parameters:
task
- the task interface of the stopped thread.
- Returns:
true
if the thread should restart its execution.
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.