public class TimeQueue
extends java.lang.Object
TimeTask
s when it is started. TimeTask
Constructor and Description |
---|
TimeQueue()
Creates a new TimeQueue
|
TimeQueue(boolean daemon)
Creates a new TimeQueue that will set the thread daemon or not depending on the given argument
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all the tasks from this TimeQueue.
|
void |
schedule(TimeTask task)
Schedules the given task for execution.
|
int |
size()
Returns the number of tasks present in this TimeQueue
|
void |
start()
Starts this TimeQueue.
|
void |
stop()
Stops this TimeQueue.
|
void |
unschedule(TimeTask task)
Removes the given task from this TimeQueue
|
public TimeQueue()
public TimeQueue(boolean daemon)
public void start()
stop()
public void stop()
start()
public int size()
public void schedule(TimeTask task)
unschedule(mx4j.timer.TimeTask)
public void unschedule(TimeTask task)
schedule(mx4j.timer.TimeTask)
public void clear()