Class MultiBucketConsumerService.MultiBucketConsumer

    • Method Summary

      Modifier and Type Method Description
      void accept​(int value)  
      int getCount()  
      int getLimit()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.IntConsumer

        andThen
    • Constructor Detail

      • MultiBucketConsumer

        public MultiBucketConsumer​(int limit)
    • Method Detail

      • accept

        public void accept​(int value)
        Specified by:
        accept in interface java.util.function.IntConsumer
      • reset

        public void reset()
      • getCount

        public int getCount()
      • getLimit

        public int getLimit()