|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.timer.Scheduler
public class Scheduler
Resin scheduler.
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
Scheduler()
|
Method Summary | |
---|---|
static void |
addTimerTask(TimerTask task)
Adds a scheduled task. |
static TimerTask |
getTimerTaskById(long taskId)
Gets the scheduled task for a given task ID. |
static java.util.Collection<TimerTask> |
getTimerTasksByTargetBean(java.lang.Class targetBean)
Gets the scheduled tasks for a given target bean. |
static void |
removeTimerTask(TimerTask scheduledTask)
Removes a scheduled task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
Constructor Detail |
---|
public Scheduler()
Method Detail |
---|
public static void addTimerTask(TimerTask task)
task
- The task to add.public static TimerTask getTimerTaskById(long taskId)
taskId
- The ID of the task to match.
public static java.util.Collection<TimerTask> getTimerTasksByTargetBean(java.lang.Class targetBean)
targetBean
- The target bean to match.
public static void removeTimerTask(TimerTask scheduledTask)
scheduledTask
- The scheduled task to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |