public class GoogleSubscriberManager extends AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>
FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OKnameFactory_, subscribers_| Constructor and Description |
|---|
GoogleSubscriberManager(IConfiguration config,
INameFactory nameFactory,
String projectId,
ITraceContextTransactionFactory traceFactory,
IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
protected void |
startSubscription(SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription) |
protected void |
stopSubscriptions() |
GoogleSubscriberManager |
withCounter(ICounter counter) |
getTraceFactory, handleMessage, quiesce, start, stop, withSubscription, withSubscription, withSubscription, withSubscriptiongetSubscribers, getTotalSubscriptionCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessagepublic GoogleSubscriberManager(IConfiguration config, INameFactory nameFactory, String projectId, ITraceContextTransactionFactory traceFactory, IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
config - ConfigurationnameFactory - A NameFactory.projectId - The Google project ID for the pubsub service.traceFactory - A trace context factory.unprocessableMessageConsumer - Consumer for invalid messages.public GoogleSubscriberManager withCounter(ICounter counter)
protected void startSubscription(SubscriptionImpl<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)
startSubscription in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>protected void stopSubscriptions()
stopSubscriptions in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberManager>protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.