Package de.mhus.lib.core.schedule
Class QueueList
- java.lang.Object
-
- de.mhus.lib.core.schedule.QueueList
-
- All Implemented Interfaces:
SchedulerQueue
public class QueueList extends Object implements SchedulerQueue
-
-
Constructor Summary
Constructors Constructor Description QueueList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(SchedulerJob job)voiddoSchedule(SchedulerJob schedulerJob)List<SchedulerJob>getJobs()voidremoveJob(SchedulerJob job)List<SchedulerJob>removeJobs(long toTime)intsize()
-
-
-
Method Detail
-
removeJobs
public List<SchedulerJob> removeJobs(long toTime)
- Specified by:
removeJobsin interfaceSchedulerQueue
-
doSchedule
public void doSchedule(SchedulerJob schedulerJob)
- Specified by:
doSchedulein interfaceSchedulerQueue
-
removeJob
public void removeJob(SchedulerJob job)
- Specified by:
removeJobin interfaceSchedulerQueue
-
size
public int size()
- Specified by:
sizein interfaceSchedulerQueue
-
getJobs
public List<SchedulerJob> getJobs()
- Specified by:
getJobsin interfaceSchedulerQueue
-
contains
public boolean contains(SchedulerJob job)
- Specified by:
containsin interfaceSchedulerQueue
-
clear
public void clear()
- Specified by:
clearin interfaceSchedulerQueue
-
-