Class AbstractSubscriberAdmin<T extends AbstractSubscriberAdmin<T>>

  • Type Parameters:
    T - Type of concrete manager, needed for fluent methods.
    All Implemented Interfaces:
    org.symphonyoss.s2.common.fluent.IFluent<T>, org.symphonyoss.s2.fugue.IFugueComponent, org.symphonyoss.s2.fugue.IFugueLifecycleComponent, ISubscriberAdmin<T>

    public abstract class AbstractSubscriberAdmin<T extends AbstractSubscriberAdmin<T>>
    extends org.symphonyoss.s2.fugue.FugueLifecycleComponent<T>
    implements ISubscriberAdmin<T>
    Base class for subscriber managers.
    Author:
    Bruce Skingle
    • Field Detail

      • obsoleteSubscribers_

        protected final com.google.common.collect.ImmutableList<ITopicSubscriptionAdmin> obsoleteSubscribers_
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface org.symphonyoss.s2.fugue.IFugueComponent
      • stop

        public void stop()
        Specified by:
        stop in interface org.symphonyoss.s2.fugue.IFugueComponent
      • createSubcription

        protected abstract void createSubcription​(org.symphonyoss.s2.fugue.naming.SubscriptionName subscriptionName,
                                                  ITopicSubscriptionAdmin subscription,
                                                  boolean dryRun)
      • deleteSubcription

        protected abstract void deleteSubcription​(org.symphonyoss.s2.fugue.naming.SubscriptionName subscriptionName,
                                                  boolean dryRun)
      • assertConfigurable

        protected void assertConfigurable()
      • setLifeCycleState

        protected void setLifeCycleState​(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)
      • getLifecycleState

        public org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()