T - Type of concrete manager, needed for fluent methods.public abstract class AbstractSubscriberAdmin<T extends AbstractSubscriberAdmin<T>> extends AbstractSubscriberBase<Void,T> implements ISubscriberAdmin<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSubscriberAdmin.Builder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>>
Builder.
|
nameFactory_, subscribers_, totalSubscriptionCnt_| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSubscriberAdmin(Class<T> type,
AbstractSubscriberAdmin.Builder<?,T> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected abstract void |
createSubcription(TopicName topicName,
SubscriptionName subscriptionName,
boolean dryRun) |
void |
createSubscriptions(boolean dryRun)
Create all configured subscriptions.
|
protected abstract void |
deleteSubcription(TopicName topicName,
SubscriptionName subscriptionName,
boolean dryRun) |
void |
deleteSubscriptions(boolean dryRun)
Delete all configured subscriptions.
|
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
void |
start() |
void |
stop() |
getSubscribers, getTotalSubscriptionCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessage, quiesceprotected AbstractSubscriberAdmin(Class<T> type, AbstractSubscriberAdmin.Builder<?,T> builder)
public void start()
start in interface IFugueComponentpublic void stop()
stop in interface IFugueComponentprotected abstract void createSubcription(TopicName topicName, SubscriptionName subscriptionName, boolean dryRun)
protected abstract void deleteSubcription(TopicName topicName, SubscriptionName subscriptionName, boolean dryRun)
public void createSubscriptions(boolean dryRun)
ISubscriberAdmincreateSubscriptions in interface ISubscriberAdmin<T extends AbstractSubscriberAdmin<T>>dryRun - If true then don't change anythingpublic void deleteSubscriptions(boolean dryRun)
ISubscriberAdmindeleteSubscriptions in interface ISubscriberAdmin<T extends AbstractSubscriberAdmin<T>>dryRun - If true then don't change anythingprotected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.