Package ai.preferred.venom.job
Class LazyScheduler
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<Job>
-
- ai.preferred.venom.job.AbstractJobQueue
-
- ai.preferred.venom.job.AbstractPriorityJobQueue
-
- ai.preferred.venom.job.LazyPriorityJobQueue
-
- ai.preferred.venom.job.LazyScheduler
-
- All Implemented Interfaces:
java.lang.Iterable<Job>
,java.util.Collection<Job>
,java.util.concurrent.BlockingQueue<Job>
,java.util.Queue<Job>
@Deprecated public class LazyScheduler extends LazyPriorityJobQueue
Deprecated.Deprecated, will be removed in the next release. Please use LazyPriorityJobQueue instead.
-
-
Constructor Summary
Constructors Constructor Description LazyScheduler(java.util.Iterator<Request> requests)
Deprecated.Constructs an instance of lazy scheduler without a default handler.LazyScheduler(java.util.Iterator<Request> requests, Handler handler)
Deprecated.Constructs an instance of lazy scheduler with a default handler.
-
Method Summary
-
Methods inherited from class ai.preferred.venom.job.LazyPriorityJobQueue
isEmpty, poll, poll
-
Methods inherited from class ai.preferred.venom.job.AbstractPriorityJobQueue
offer, offer, put
-
Methods inherited from class ai.preferred.venom.job.AbstractJobQueue
drainTo, drainTo, getQueue, iterator, peek, remainingCapacity, size, take
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
LazyScheduler
public LazyScheduler(java.util.Iterator<Request> requests, Handler handler)
Deprecated.Constructs an instance of lazy scheduler with a default handler.- Parameters:
requests
- An iterator to obtain requestshandler
- The default handler to use
-
LazyScheduler
public LazyScheduler(java.util.Iterator<Request> requests)
Deprecated.Constructs an instance of lazy scheduler without a default handler.- Parameters:
requests
- An iterator to obtain requests
-
-