public class GoogleSubscriberAdmin extends AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T> implements ISubscriberAdmin<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberAdmin>
FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OK| Constructor and Description |
|---|
GoogleSubscriberAdmin(INameFactory nameFactory,
String projectId,
ITraceContextFactory traceFactory)
Normal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
void |
createSubscriptions(boolean dryRun) |
void |
deleteSubscriptions(boolean dryRun) |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
protected void |
startSubscription(Subscription<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription) |
protected void |
stopSubscriptions() |
getSubscribers, getTraceFactory, handleMessage, start, stop, withSubscription, withSubscriptionsByConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithSubscription, withSubscriptionsByConfiggetComponentId, getComponentState, getComponentStatusMessagepublic GoogleSubscriberAdmin(INameFactory nameFactory, String projectId, ITraceContextFactory traceFactory)
nameFactory - A NameFactory.projectId - The Google project ID for the pubsub service.traceFactory - A trace context factory.public void createSubscriptions(boolean dryRun)
createSubscriptions in interface ISubscriberAdmin<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberAdmin>public void deleteSubscriptions(boolean dryRun)
deleteSubscriptions in interface ISubscriberAdmin<org.symphonyoss.s2.common.immutable.ImmutableByteArray,GoogleSubscriberAdmin>protected void startSubscription(Subscription<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)
startSubscription in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T extends ISubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T>>protected void stopSubscriptions()
stopSubscriptions in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T extends ISubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T>>protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.