Class SuspendedConsumerLoggingTicker

  • All Implemented Interfaces:
    Ticker

    public abstract class SuspendedConsumerLoggingTicker
    extends Object
    implements Ticker
    • Constructor Detail

      • SuspendedConsumerLoggingTicker

        public SuspendedConsumerLoggingTicker​(long repeatPeriod)
    • Method Detail

      • setStartTime

        public void setStartTime​(long currentTime)
      • getTimeToNextTick

        public int getTimeToNextTick​(long currentTime)
        Specified by:
        getTimeToNextTick in interface Ticker
      • tick

        public int tick​(long currentTime)
        Specified by:
        tick in interface Ticker
      • log

        protected abstract void log​(long period)