Class GoogleSubscriberManager
- java.lang.Object
-
- org.symphonyoss.s2.common.fluent.Fluent<T>
-
- org.symphonyoss.s2.fugue.FugueLifecycleComponent<T>
-
- org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberBase<P,T>
-
- org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<P,T>
-
- org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
-
- org.symphonyoss.s2.fugue.google.pubsub.GoogleSubscriberManager
-
- All Implemented Interfaces:
org.symphonyoss.s2.common.fluent.IFluent<GoogleSubscriberManager>,org.symphonyoss.s2.fugue.IFugueComponent,org.symphonyoss.s2.fugue.IFugueLifecycleComponent,org.symphonyoss.s2.fugue.pubsub.ISubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
public class GoogleSubscriberManager extends org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
Subscriber manager for Google pubsub. The following configuration is supported: "org": { "symphonyoss": { "s2": { "fugue": { "google": { "pubsub": { "subscriberThreadPoolSize": 40, "handlerThreadPoolSize": 360 } } } } } }- Author:
- Bruce Skingle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoogleSubscriberManager.BuilderBuilder for GoogleSubscriberManager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertConfigurable()org.symphonyoss.s2.fugue.FugueLifecycleStategetLifecycleState()protected voidinitSubscription(org.symphonyoss.s2.fugue.pubsub.SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)protected voidsetLifeCycleState(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)protected voidstartSubscriptions()protected voidstopSubscriptions()-
Methods inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager
getBusyCounter, printQueueSize, start, submit
-
Methods inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager
getCounter, getTraceFactory, handleMessage, quiesce, stop
-
Methods inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberBase
getSubscribers, getTotalSubscriptionCnt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
initSubscription
protected void initSubscription(org.symphonyoss.s2.fugue.pubsub.SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)
- Specified by:
initSubscriptionin classorg.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
-
startSubscriptions
protected void startSubscriptions()
- Specified by:
startSubscriptionsin classorg.symphonyoss.s2.fugue.pubsub.AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
-
stopSubscriptions
protected void stopSubscriptions()
- Overrides:
stopSubscriptionsin classorg.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
-
assertConfigurable
protected void assertConfigurable()
-
setLifeCycleState
protected void setLifeCycleState(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)
-
getLifecycleState
public org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()
-
-