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.


Field Summary
static String ITF_NAME
          default interface name.
 
Method Summary
 boolean threadEnded(Task task)
          Notifies the activity manager that the thread, the given task interface belong, has ended its execution.
 

Field Detail

ITF_NAME

static final String ITF_NAME
default interface name.

See Also:
Constant Field Values
Method Detail

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.