public abstract class AbstractPullSubscriberManager<P,T extends ISubscriberManager<P,T>> extends AbstractSubscriberManager<P,T>
FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OKnameFactory_, subscribers_| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPullSubscriberManager(IConfiguration config,
INameFactory nameFactory,
Class<T> type,
ITraceContextTransactionFactory traceFactory,
IThreadSafeErrorConsumer<P> unprocessableMessageConsumer,
String configPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected ICounter |
getCounter() |
protected void |
initialize() |
IBatch |
newBatch() |
protected void |
printQueueSize() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
void |
start() |
protected void |
stopSubscriptions()
Stop all subscribers.
|
void |
submit(Runnable subscriber,
boolean force) |
T |
withCounter(Counter counter) |
getTraceFactory, handleMessage, initSubscription, quiesce, startSubscriptions, stop, withSubscription, withSubscription, withSubscription, withSubscriptiongetSubscribers, getTotalSubscriptionCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessageprotected AbstractPullSubscriberManager(IConfiguration config, INameFactory nameFactory, Class<T> type, ITraceContextTransactionFactory traceFactory, IThreadSafeErrorConsumer<P> unprocessableMessageConsumer, String configPath)
protected ICounter getCounter()
public void start()
start in interface IFugueComponentstart in class AbstractSubscriberManager<P,T extends ISubscriberManager<P,T>>protected void initialize()
protected void stopSubscriptions()
AbstractSubscriberManagerstopSubscriptions in class AbstractSubscriberManager<P,T extends ISubscriberManager<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.