P - Type of payload received.T - Type of concrete manager, needed for fluent methods.public abstract class AbstractSubscriberBase<P,T extends org.symphonyoss.s2.common.fluent.IFluent<T>> extends FugueLifecycleComponent<T>
| Modifier and Type | Field and Description |
|---|---|
protected INameFactory |
nameFactory_ |
protected List<SubscriptionImpl<P>> |
subscribers_ |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSubscriberBase(INameFactory nameFactory,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected List<SubscriptionImpl<P>> |
getSubscribers() |
protected int |
getTotalSubscriptionCnt() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
Collection<TopicName> topicNames) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
String[] topicIds) |
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionId,
String topicId,
String... additionalTopicIds)
Deprecated.
|
protected T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
Subscription subscription) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessage, quiesce, start, stopprotected final INameFactory nameFactory_
protected List<SubscriptionImpl<P>> subscribers_
protected AbstractSubscriberBase(INameFactory nameFactory, Class<T> type)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, Subscription subscription)
@Deprecated protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String topicId, String... additionalTopicIds)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, Collection<TopicName> topicNames)
protected T withSubscription(@Nullable IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String[] topicIds)
protected List<SubscriptionImpl<P>> getSubscribers()
protected int getTotalSubscriptionCnt()
protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.