|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use QueueScheduler | |
---|---|
com.emarsys.ecommon.time.schedule | Provides common classes to implement scheduling schemes. |
com.emarsys.ecommon.time.schedule.mock |
Uses of QueueScheduler in com.emarsys.ecommon.time.schedule |
---|
Fields in com.emarsys.ecommon.time.schedule declared as QueueScheduler | |
---|---|
protected QueueScheduler<T> |
QueueSchedulingContextImpl.scheduler
|
Methods in com.emarsys.ecommon.time.schedule with parameters of type QueueScheduler | |
---|---|
java.util.Calendar |
DelayedLinearQueueSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
If the passed schedulable has been queued (according to SchedulableQueueElement.getQueueingDate() ) before the
delay threshold (== queueing date + DelayedLinearQueueSchedulingStrategy.delayIntLen ) it will
be constantly rescheduled in DelayedLinearQueueSchedulingStrategy.baseIntLen milliseconds (see
ConstantQueueSchedulingStrategy ).Else if it has been queued after said threshold it will be linearly rescheduled in SchedulableQueueElement.getScheduledCount()
* DelayedLinearQueueSchedulingStrategy.delayIntLen milliseconds
(see LinearQueueSchedulingStrategy ). |
java.util.Calendar |
FixedQueueSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
If this FixedQueueSchedulingStrategy.scheduleDate is after
(see Calendar.after(Object) ) NOW
(see now() then it will be returned,
otherwise NOW +
SchedulableQueueElement.getMinSchedulingInterval()
will be returned. |
java.util.Calendar |
QueueSchedulingStrategyChain.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
Calculates the next processing date by iterating over the strategy chain QueueSchedulingStrategyChain.elements and for every instance... |
java.util.Calendar |
QueueSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
Performs the concrete scheduling algorithm defined by this QueueSchedulingStrategy on the passed
SchedulableQueueElement . |
java.util.Calendar |
LinearQueueSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
Calculates the next processing date by adding the LinearQueueSchedulingStrategy.intervalMillis multiplied with a scaling factor
(see LinearQueueSchedulingStrategy.calculateScalingFactor(SchedulableQueueElement) )
to the current time. |
java.util.Calendar |
ConstantQueueSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
|
java.util.Calendar |
ChainElement.execute(QueueScheduler<T> scheduler)
Executes the QueueSchedulingStrategy associated with
this ChainElement and passed the ChainElement.schedulable
and the passed scheduler as parameters to
QueueSchedulingStrategy.calculateNextProcessing(QueueScheduler, SchedulableQueueElement) . |
java.util.Calendar |
SchedulableQueueElementProxy.getScheduled(QueueScheduler<T> scheduler)
|
java.util.Calendar |
SchedulableQueueElement.getScheduled(QueueScheduler<T> scheduler)
(Re)schedules this queue element using the passed QueueScheduler . |
Constructors in com.emarsys.ecommon.time.schedule with parameters of type QueueScheduler | |
---|---|
QueueSchedulingContextImpl(SchedulableQueueElement<T> schedulable,
QueueScheduler<T> scheduler)
|
Uses of QueueScheduler in com.emarsys.ecommon.time.schedule.mock |
---|
Classes in com.emarsys.ecommon.time.schedule.mock that implement QueueScheduler | |
---|---|
class |
MockQueueScheduler<T>
Mock implementation of QueueScheduler for unit
testing purposes. |
Methods in com.emarsys.ecommon.time.schedule.mock with parameters of type QueueScheduler | |
---|---|
java.util.Calendar |
MockSchedulingStrategy.calculateNextProcessing(QueueScheduler<T> scheduler,
SchedulableQueueElement<T> schedulable)
|
java.util.Calendar |
MockSchedulable.getScheduled(QueueScheduler<MockSchedulable> scheduler)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |