- All Superinterfaces:
- Runnable, Task
- All Known Implementing Classes:
- AbstractWaitingTask
public interface WaitingTask
extends Task
This interface has been defined for tasks that might wait for a long time,
e.g., for an external resource to load. Those tasks offer a method that
returns the time they are already waiting. Thus, instances of this interface
can be used for environments, in which a task should be interrupted if it
takes to much time.
- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)