public class PriorityAwareSchedulerMessageRunnerService
extends com.atlassian.messagequeue.internal.scheduler.SchedulerMessageRunnerService
SchedulerMessageRunnerService
that may schedule the first message delivery to be 1 day in the past, so that
the first delivery has priority over normal messages. See prioritize(com.atlassian.messagequeue.MessageRunnerService)
.Modifier and Type | Method and Description |
---|---|
protected Date |
getFirstDeliveryTime() |
static com.atlassian.messagequeue.MessageRunnerService |
prioritize(com.atlassian.messagequeue.MessageRunnerService messageRunnerService)
Returns a service that schedules the first message delivery to be 1 day in the past, so that the first delivery
has priority over normal messages.
|
public static com.atlassian.messagequeue.MessageRunnerService prioritize(com.atlassian.messagequeue.MessageRunnerService messageRunnerService)
messageRunnerService
uses or it is a PriorityAwareSchedulerMessageRunnerService
.protected Date getFirstDeliveryTime()
getFirstDeliveryTime
in class com.atlassian.messagequeue.internal.scheduler.SchedulerMessageRunnerService
Copyright © 2003–2017 Atlassian. All rights reserved.