|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.Scheduler
public class Scheduler
The Class Scheduler.
Field Summary | |
---|---|
protected static Logger |
logger
Logger. |
Constructor Summary | |
---|---|
Scheduler()
|
Method Summary | |
---|---|
static void |
runInParallel(boolean wait,
java.lang.Runnable... runnables)
Executes different tasks in parallel. |
static void |
scheduleTaskAfter(java.lang.String taskName,
java.lang.Runnable task,
int seconds)
Schedules a task to be executed after X seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger logger
Constructor Detail |
---|
public Scheduler()
Method Detail |
---|
public static void scheduleTaskAfter(java.lang.String taskName, java.lang.Runnable task, int seconds)
taskName
- the task nametask
- the taskseconds
- the secondspublic static void runInParallel(boolean wait, java.lang.Runnable... runnables)
wait
- the waitrunnables
- the runnables
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |