Package ai.preferred.venom.job
Interface QueueScheduler
-
- All Superinterfaces:
java.util.concurrent.BlockingQueue<Job>
,java.util.Collection<Job>
,java.lang.Iterable<Job>
,java.util.Queue<Job>
- All Known Implementing Classes:
AbstractPriorityQueueScheduler
,AbstractQueueScheduler
,FIFOQueueScheduler
,LazyPriorityQueueScheduler
,LazyScheduler
,PriorityQueueScheduler
public interface QueueScheduler extends java.util.concurrent.BlockingQueue<Job>
This interface represents only the most basic of a scheduler. It imposes no restrictions or particular details on the the type of queue, and allows for different future types to be returned.- Author:
- Maksim Tkachenko, Ween Jiann Lee
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scheduler
getScheduler()
Get the scheduler to add jobs.-
Methods inherited from interface java.util.concurrent.BlockingQueue
add, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, take
-
-
-
-
Method Detail
-
getScheduler
Scheduler getScheduler()
Get the scheduler to add jobs.- Returns:
- an instance of Scheduler
-
-