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
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.
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.