Package org.symphonyoss.s2.fugue.pubsub
Class AbstractSubscriberBase.Builder<P,T extends AbstractSubscriberBase.Builder<P,T,B>,B extends AbstractSubscriberBase<P,B>>
- java.lang.Object
-
- org.symphonyoss.s2.common.fluent.Fluent<T>
-
- org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T,B>
-
- org.symphonyoss.s2.fugue.pubsub.AbstractSubscriberBase.Builder<P,T,B>
-
- Type Parameters:
P- Type of payload received by subscribers.T- The concrete type returned by fluent methods.B- The concrete type of the built object.
- All Implemented Interfaces:
org.symphonyoss.s2.common.fluent.IBuilder<T,B>,org.symphonyoss.s2.common.fluent.IFluent<T>
- Direct Known Subclasses:
AbstractSubscriberAdmin.Builder,AbstractSubscriberManager.Builder
- Enclosing class:
- AbstractSubscriberBase<P,T extends AbstractSubscriberBase<P,T>>
public abstract static class AbstractSubscriberBase.Builder<P,T extends AbstractSubscriberBase.Builder<P,T,B>,B extends AbstractSubscriberBase<P,B>> extends org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T,B>Builder.- Author:
- Bruce Skingle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidvalidate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)TwithNameFactory(org.symphonyoss.s2.fugue.naming.INameFactory nameFactory)protected TwithSubscription(org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String[] topicIds)protected TwithSubscription(org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String topicId, String... additionalTopicIds)Deprecated.protected TwithSubscription(org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, Collection<org.symphonyoss.s2.fugue.naming.TopicName> topicNames)protected TwithSubscription(org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, Subscription subscription)
-
-
-
Method Detail
-
withNameFactory
public T withNameFactory(org.symphonyoss.s2.fugue.naming.INameFactory nameFactory)
-
withSubscription
protected T withSubscription(@Nullable org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, Subscription subscription)
-
withSubscription
@Deprecated protected T withSubscription(@Nullable org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String topicId, String... additionalTopicIds)
Deprecated.
-
withSubscription
protected T withSubscription(@Nullable org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, Collection<org.symphonyoss.s2.fugue.naming.TopicName> topicNames)
-
withSubscription
protected T withSubscription(@Nullable org.symphonyoss.s2.fugue.pipeline.IThreadSafeRetryableConsumer<P> consumer, String subscriptionId, String[] topicIds)
-
validate
public void validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)
- Overrides:
validatein classorg.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T extends AbstractSubscriberBase.Builder<P,T,B>,B extends AbstractSubscriberBase<P,B>>
-
-