Class GoogleAsyncSubscriberManager

  • All Implemented Interfaces:
    org.symphonyoss.s2.common.fluent.IFluent<GoogleAsyncSubscriberManager>, org.symphonyoss.s2.fugue.IFugueComponent, org.symphonyoss.s2.fugue.IFugueLifecycleComponent, org.symphonyoss.s2.fugue.pubsub.ISubscriberManager<GoogleAsyncSubscriberManager>

    public class GoogleAsyncSubscriberManager
    extends org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<GoogleAsyncSubscriberManager>
    Subscriber manager for Google pubsub. The following configuration is supported: "org": { "symphonyoss": { "s2": { "fugue": { "google": { "pubsub": { "subscriberThreadPoolSize": 40 } } } } } }
    Author:
    Bruce Skingle
    • Field Summary

      • Fields inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager

        config_, counter_, FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OK, nameFactory_, subscribers_, totalSubscriptionCnt_, traceFactory_, unprocessableMessageConsumer_
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertConfigurable()  
      org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()  
      protected void initSubscription​(org.symphonyoss.s2.fugue.pubsub.ISubscription subscription)  
      protected void setLifeCycleState​(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)  
      protected void startSubscriptions()  
      protected void stopSubscriptions()  
      • Methods inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager

        getCounter, getTotalSubscriptionCnt, getTraceFactory, handleMessage, quiesce, start, stop
      • Methods inherited from class org.symphonyoss.s2.common.fluent.Fluent

        self
      • Methods inherited from interface org.symphonyoss.s2.common.fluent.IFluent

        self
      • Methods inherited from interface org.symphonyoss.s2.fugue.IFugueComponent

        getComponentId, getComponentState, getComponentStatusMessage
      • Methods inherited from interface org.symphonyoss.s2.fugue.IFugueLifecycleComponent

        getLifecycleState
    • Method Detail

      • initSubscription

        protected void initSubscription​(org.symphonyoss.s2.fugue.pubsub.ISubscription subscription)
        Specified by:
        initSubscription in class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<GoogleAsyncSubscriberManager>
      • startSubscriptions

        protected void startSubscriptions()
        Specified by:
        startSubscriptions in class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<GoogleAsyncSubscriberManager>
      • stopSubscriptions

        protected void stopSubscriptions()
        Specified by:
        stopSubscriptions in class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<GoogleAsyncSubscriberManager>
      • assertConfigurable

        protected void assertConfigurable()
      • setLifeCycleState

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

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