public class ImmediateTask extends java.lang.Object implements TimeScheduler.Task
| Constructor and Description |
|---|
ImmediateTask(java.lang.Runnable r) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelled() |
long |
nextInterval() |
void |
run()
Execute the task
|
public boolean cancelled()
cancelled in interface TimeScheduler.Taskpublic long nextInterval()
nextInterval in interface TimeScheduler.Taskpublic void run()
TimeScheduler.Taskrun in interface TimeScheduler.TaskCopyright ? 1998-2006 Bela Ban. All Rights Reserved.