Bali Share 1.1.18

oracle.bali.share.thread
Interface Task


public interface Task

Objects implementing the Task interface can be scheduled by the TaskScheduler object.

Tasks are similar to Runnables, but have the additional context provided by the TaskEvent, which lets tasks implement features like drift-free timing.

See Also:
TaskScheduler

Method Summary
 void runTask(TaskEvent event)
          Called when a task should be executed.
 

Method Detail

runTask

public void runTask(TaskEvent event)
Called when a task should be executed.
Parameters:
event - a TaskEvent object providing context

Bali Share 1.1.18