Interface BlockingIterable<T>

Type Parameters:
T - the type of elements returned by the BlockingIterator.
All Superinterfaces:
CloseableIterable<T>, Iterable<T>
All Known Subinterfaces:
BlockingIterable.Processor<T>, HttpMessageBodyIterable<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BlockingIterable<T> extends CloseableIterable<T>
An Iterable which supports generation of BlockingIterators.

This interface is meant to be the synchronous API equivalent of PublisherSource. Each call to iterator() is equivalent to calling PublisherSource.subscribe(Subscriber) and typically has the same characteristics in terms of being able to call the method multiple times and data availability in memory.