P - Type of payload received.T - Type of concrete manager, needed for fluent methods.public abstract class AbstractPullSubscriberManager<P,T extends AbstractPullSubscriberManager<P,T>> extends AbstractSubscriberManager<P,T>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractPullSubscriberManager.Builder<P,T extends AbstractPullSubscriberManager.Builder<P,T,B>,B extends AbstractPullSubscriberManager<P,B>>
Builder.
|
config_, counter_, FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OK, traceFactory_, unprocessableMessageConsumer_nameFactory_, subscribers_, totalSubscriptionCnt_| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPullSubscriberManager(Class<T> type,
AbstractPullSubscriberManager.Builder<P,?,T> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected IBusyCounter |
getBusyCounter() |
IBatch |
newBatch() |
protected void |
printQueueSize() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
void |
start() |
protected void |
stopSubscriptions()
Stop all subscribers.
|
void |
submit(Runnable subscriber,
boolean force) |
getCounter, getTraceFactory, handleMessage, initSubscription, quiesce, startSubscriptions, stopgetSubscribers, getTotalSubscriptionCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessageprotected AbstractPullSubscriberManager(Class<T> type, AbstractPullSubscriberManager.Builder<P,?,T> builder)
protected IBusyCounter getBusyCounter()
public void start()
start in interface IFugueComponentstart in class AbstractSubscriberManager<P,T extends AbstractPullSubscriberManager<P,T>>protected void stopSubscriptions()
AbstractSubscriberManagerstopSubscriptions in class AbstractSubscriberManager<P,T extends AbstractPullSubscriberManager<P,T>>public void submit(Runnable subscriber, boolean force)
protected void printQueueSize()
public IBatch newBatch()
protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.