@Deprecated public class ThreadPoolNotifier extends AbstractNotifier
Notifier.SubscriptionSummaryCallback
Modifier and Type | Field and Description |
---|---|
protected ThreadPoolExecutor |
exeuctor
Deprecated.
|
Modifier | Constructor and Description |
---|---|
|
ThreadPoolNotifier()
Deprecated.
|
|
ThreadPoolNotifier(int startPoolSize,
int maxPoolSize,
int queueSize)
Deprecated.
|
protected |
ThreadPoolNotifier(ThreadPoolExecutor executor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
enqueueNotification(Notification not)
Deprecated.
Enqueues a notification to run.
|
protected void |
retry(Notification not)
Deprecated.
Schedules a notification to retry in two minutes.
|
notifySubscribers, postNotification
protected final ThreadPoolExecutor exeuctor
public ThreadPoolNotifier()
public ThreadPoolNotifier(int startPoolSize, int maxPoolSize, int queueSize)
protected ThreadPoolNotifier(ThreadPoolExecutor executor)
protected void enqueueNotification(Notification not)
enqueueNotification
in class AbstractNotifier
not
- protected void retry(Notification not)
not
- Notification to retryCopyright © 2021. All rights reserved.