Class BlockingIterable<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>

    public class BlockingIterable<T>
    extends java.lang.Object
    implements java.lang.Iterable<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      BlockingIterable​(org.reactivestreams.Publisher<? extends T> upstream, int batchSize, java.util.function.Supplier<java.util.Queue<T>> supplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<T> iterator()  
      java.util.Spliterator<T> spliterator()  
      java.util.stream.Stream<T> stream()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Constructor Detail

      • BlockingIterable

        public BlockingIterable​(org.reactivestreams.Publisher<? extends T> upstream,
                                int batchSize,
                                java.util.function.Supplier<java.util.Queue<T>> supplier)
    • Method Detail

      • iterator

        public java.util.Iterator<T> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>
      • spliterator

        public java.util.Spliterator<T> spliterator()
        Specified by:
        spliterator in interface java.lang.Iterable<T>
      • stream

        public java.util.stream.Stream<T> stream()