Class AbstractSubscriberBase<P,​T extends AbstractSubscriberBase<P,​T>>

  • Type Parameters:
    P - Type of payload received.
    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
    Direct Known Subclasses:
    AbstractSubscriberAdmin, AbstractSubscriberManager

    public abstract class AbstractSubscriberBase<P,​T extends AbstractSubscriberBase<P,​T>>
    extends org.symphonyoss.s2.fugue.FugueLifecycleComponent<T>
    Base class for subscriber managers and admin controllers.
    Author:
    Bruce Skingle
    • Field Detail

      • nameFactory_

        protected final org.symphonyoss.s2.fugue.naming.INameFactory nameFactory_
      • subscribers_

        protected final com.google.common.collect.ImmutableList<SubscriptionImpl<P>> subscribers_
      • totalSubscriptionCnt_

        protected final int totalSubscriptionCnt_
    • Method Detail

      • getTotalSubscriptionCnt

        protected int getTotalSubscriptionCnt()
      • assertConfigurable

        protected void assertConfigurable()
      • setLifeCycleState

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

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