Package com.luciad.concurrent
Interface ITaskScheduler
public interface ITaskScheduler
Interface for a class that can schedule tasks.
Tasks must implement the ITask
interface. This allows a task consumer to run tasks on a specific thread if needed.
-
Method Details
-
schedule
Implement this method to execute the givenITask
with the desired context.- Parameters:
task
- the task to execute, cannot benull
.
-