Class AbstractSubscriberBase.Builder<P,​T extends AbstractSubscriberBase.Builder<P,​T,​B>,​B extends AbstractSubscriberBase<P,​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
    • Constructor Detail

      • Builder

        protected Builder​(Class<T> type)
    • 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)