Package com.sun.jini.thread
Interface TaskManager.Task
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ParticipantTask,RetryTask,SettlerTask
- Enclosing class:
- TaskManager
The interface that tasks must implement
-
Method Summary
-
Method Details
-
runAfter
Return true if this task must be run after at least one task in the given task list with an index less than size (size may be less then tasks.size()). Using List.get will be more efficient than List.iterator.- Parameters:
tasks- the tasks to consider. A read-only List, with all elements instanceof Task.size- elements with index less than size should be considered
-