Package de.mhus.lib.core.schedule
Class SchedulerTimer
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.schedule.Scheduler
-
- de.mhus.lib.core.schedule.SchedulerTimer
-
-
Constructor Summary
Constructors Constructor Description SchedulerTimer()SchedulerTimer(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidconfigureDefault(SchedulerJob job)voidremoveJob(SchedulerJob job)voidschedule(SchedulerJob job)voidschedule(String name, TimerTask task, long delay)voidschedule(String name, TimerTask task, long delay, long period)voidschedule(String name, TimerTask task, Date time)voidschedule(String name, TimerTask task, Date firstTime, long period)voidschedule(TimerTask task, long delay)voidschedule(TimerTask task, long delay, long period)voidschedule(TimerTask task, Date time)voidschedule(TimerTask task, Date firstTime, long period)voidscheduleAtFixedRate(String name, TimerTask task, long delay, long period)voidscheduleAtFixedRate(String name, TimerTask task, Date firstTime, long period)voidscheduleAtFixedRate(TimerTask task, long delay, long period)voidscheduleAtFixedRate(TimerTask task, Date firstTime, long period)-
Methods inherited from class de.mhus.lib.core.schedule.Scheduler
clear, createSchedulerJob, doExecuteJob, doExecuteJobInternal, doQueueCheck, doTick, getJobs, getName, getQueue, getRunningJobs, getScheduledJobs, start, stop, toIntervalJob
-
-
-
-
Constructor Detail
-
SchedulerTimer
public SchedulerTimer()
-
SchedulerTimer
public SchedulerTimer(String name)
-
-
Method Detail
-
schedule
public void schedule(TimerTask task, long delay)
-
schedule
public void schedule(TimerTask task, long delay, long period)
-
scheduleAtFixedRate
public void scheduleAtFixedRate(TimerTask task, long delay, long period)
- Specified by:
scheduleAtFixedRatein interfaceTimerIfc
-
scheduleAtFixedRate
public void scheduleAtFixedRate(TimerTask task, Date firstTime, long period)
- Specified by:
scheduleAtFixedRatein interfaceTimerIfc
-
scheduleAtFixedRate
public void scheduleAtFixedRate(String name, TimerTask task, long delay, long period)
- Specified by:
scheduleAtFixedRatein interfaceTimerIfc
-
scheduleAtFixedRate
public void scheduleAtFixedRate(String name, TimerTask task, Date firstTime, long period)
- Specified by:
scheduleAtFixedRatein interfaceTimerIfc
-
schedule
public void schedule(SchedulerJob job)
-
configureDefault
public void configureDefault(SchedulerJob job)
-
removeJob
public void removeJob(SchedulerJob job)
-
-