T
- public interface LazyResultConsumer<T>
extends java.util.function.Consumer<java.util.concurrent.CompletableFuture<T>>
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.util.concurrent.CompletableFuture<T>> |
getAllResults() |
ConfigurableStream<T> |
getBlocking() |
MaxActive |
getMaxActive() |
java.util.Collection<java.util.concurrent.CompletableFuture<T>> |
getResults() |
LazyResultConsumer<T> |
withResults(java.util.Collection<java.util.concurrent.CompletableFuture<T>> t)
Used to generate a new instance for result collection - populates the supplied Collection
|
LazyResultConsumer<T> withResults(java.util.Collection<java.util.concurrent.CompletableFuture<T>> t)
t
- Collection to be populatedjava.util.Collection<java.util.concurrent.CompletableFuture<T>> getResults()
java.util.Collection<java.util.concurrent.CompletableFuture<T>> getAllResults()
MaxActive getMaxActive()
ConfigurableStream<T> getBlocking()