@Contract public abstract class QueueBasedNotifierService<E extends NotificationEvent,C extends Notifier,NC extends NotifierConfiguration,MQ extends MessageQueue> extends BaseNotifierService<E,C,NC>
EventListener.Event<T>| Modifier and Type | Field and Description |
|---|---|
protected MQ |
queue |
protected ScheduledFuture |
scheduledFuture |
events| Constructor and Description |
|---|
QueueBasedNotifierService(String prefix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeExecutor() |
protected void |
reset()
Unregisters the service and cleans up any information stored in it
This function does NOT restart the service.
|
protected ScheduledFuture |
scheduleExecutor(NotificationRunnable notificationRunnable) |
void |
shutdown()
Shuts down the service
|
bootstrap, event, getNotifierConfigType, getNotifierConfigurationExecutionOptions, getNotifierType, getType, handleNotification, register, register, reset@Inject protected MQ extends MessageQueue queue
protected ScheduledFuture scheduledFuture
public QueueBasedNotifierService(String prefix)
protected void initializeExecutor()
protected ScheduledFuture scheduleExecutor(NotificationRunnable notificationRunnable)
protected void reset()
public void shutdown()
shutdown in class BaseNotifierService<E extends NotificationEvent,C extends Notifier,NC extends NotifierConfiguration>Copyright © 2019. All rights reserved.