Package org.zkoss.zk.ui.sys
Interface Scheduler<T extends Event>
-
public interface Scheduler<T extends Event>
A scheduler that is able to schedule a task to execute asynchronously. A task is represented as event listener.- Since:
- 5.0.6
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
schedule(EventListener<T> task, T event)
Schedules the task to execute asynchronously.
-
-
-
Method Detail
-
schedule
void schedule(EventListener<T> task, T event)
Schedules the task to execute asynchronously.- Parameters:
task
- the task to executeevent
- the event to be passed to the task (i.e., the event listener). It could null or any instance as long as the task recognizes it.
-
-