Class AbstractPullSubscriber

  • All Implemented Interfaces:
    Runnable

    public abstract class AbstractPullSubscriber
    extends Object
    implements Runnable
    • Constructor Detail

      • AbstractPullSubscriber

        public AbstractPullSubscriber​(AbstractPullSubscriberManager<?,​?> manager,
                                      String subscriptionName,
                                      org.symphonyoss.s2.fugue.counter.ICounter counter,
                                      org.symphonyoss.s2.fugue.counter.IBusyCounter busyCounter,
                                      long extensionFrequency,
                                      org.symphonyoss.s2.fugue.pipeline.ICloseableConsumer consumer)
    • Method Detail

      • close

        public void close()
      • getNonIdleSubscriber

        protected abstract Runnable getNonIdleSubscriber()
      • getSomeMessages

        protected void getSomeMessages()
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • run

        protected void run​(boolean runIfIdle)
      • isRunning

        public boolean isRunning()
      • stop

        public void stop()