P - Type of payload received.T - Type of concrete manager, needed for fluent methods.public abstract class AbstractSubscriberAdmin<P,T extends ISubscriberAdmin & org.symphonyoss.s2.common.fluent.IFluent<T>> extends AbstractSubscriberBase<P,T> implements ISubscriberAdmin
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSubscriberAdmin(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
void |
start() |
void |
stop() |
T |
withSubscription(String subscriptionName,
List<String> topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(String subscriptionName,
String[] topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(String subscriptionName,
String topicName,
String... additionalTopicNames)
Subscribe to the given subscription on the given topics.
|
getSubscribers, withSubscription, withSubscription, withSubscriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSubscriptions, deleteSubscriptionsgetComponentId, getComponentState, getComponentStatusMessagepublic T withSubscription(String subscriptionName, String topicName, String... additionalTopicNames)
ISubscriberAdminwithSubscription in interface ISubscriberAdminsubscriptionName - A subscription name.topicName - A topic name.additionalTopicNames - An optional list of additional topic names.public T withSubscription(String subscriptionName, List<String> topicNames)
ISubscriberAdminwithSubscription in interface ISubscriberAdminsubscriptionName - A subscription name.topicNames - A list of topic names.public T withSubscription(String subscriptionName, String[] topicNames)
ISubscriberAdminwithSubscription in interface ISubscriberAdminsubscriptionName - A subscription name.topicNames - A list of topic names.public void start()
start in interface IFugueComponentpublic void stop()
stop in interface IFugueComponentprotected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.