Package de.mhus.lib.core.schedule
Interface SchedulerQueue
-
- All Known Implementing Classes:
QueueList
public interface SchedulerQueueInterface to a scheduler queue. Queue must be synchronized!- Author:
- mikehummel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()booleancontains(SchedulerJob j)voiddoSchedule(SchedulerJob job)List<SchedulerJob>getJobs()voidremoveJob(SchedulerJob job)List<SchedulerJob>removeJobs(long toTime)intsize()
-
-
-
Method Detail
-
removeJobs
List<SchedulerJob> removeJobs(long toTime)
-
doSchedule
void doSchedule(SchedulerJob job)
-
removeJob
void removeJob(SchedulerJob job)
-
size
int size()
-
getJobs
List<SchedulerJob> getJobs()
-
contains
boolean contains(SchedulerJob j)
-
clear
void clear()
-
-