@Deprecated public class ThreadPoolNotifier extends AbstractNotifier
Notifier.SubscriptionSummaryCallback| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.ThreadPoolExecutor |
exeuctor
Deprecated.
|
private java.util.concurrent.ConcurrentSkipListSet<java.lang.String> |
pendings
Deprecated.
|
private java.util.Timer |
timer
Deprecated.
|
private static long |
TWO_MINUTES
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
|
ThreadPoolNotifier()
Deprecated.
|
|
ThreadPoolNotifier(int startPoolSize,
int maxPoolSize,
int queueSize)
Deprecated.
|
protected |
ThreadPoolNotifier(java.util.concurrent.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, postNotificationprivate static final long TWO_MINUTES
protected final java.util.concurrent.ThreadPoolExecutor exeuctor
private final java.util.Timer timer
private final java.util.concurrent.ConcurrentSkipListSet<java.lang.String> pendings
public ThreadPoolNotifier()
public ThreadPoolNotifier(int startPoolSize,
int maxPoolSize,
int queueSize)
protected ThreadPoolNotifier(java.util.concurrent.ThreadPoolExecutor executor)
protected void enqueueNotification(Notification not)
enqueueNotification in class AbstractNotifiernot - protected void retry(Notification not)
not - Notification to retry