public class EagerFutureStreamImpl<U> extends java.lang.Object implements EagerFutureStream<U>
exceptionSoftener| Constructor and Description |
|---|
EagerFutureStreamImpl(java.util.stream.Stream<java.util.concurrent.CompletableFuture<U>> stream,
java.util.concurrent.ExecutorService executor,
com.nurkiewicz.asyncretry.RetryExecutor retrier)
Construct a SimpleReact stage - this acts as a fluent SimpleReact builder
|
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
collect(java.util.stream.Collector<? super U,A,R> collector) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallOf, allOf, capture, cast, concat, concat, concat, concat, distinct, duplicate, duplicateFutureStream, eagerBuilder, eagerBuilder, eagerBuilder, empty, filter, flatMap, fromStream, fromStreamCompletableFuture, futureStream, futureStream, futureStream, intersperse, limit, limitUntil, limitWhile, merge, of, of, ofType, onFail, paraellelCommonBuilder, parallel, parallelBuilder, parallelBuilder, partition, partitionFutureStream, peek, retry, reverse, scanLeft, scanRight, sequentialBuilder, sequentialCommonBuilder, shuffle, shuffle, skip, skipUntil, skipWhile, slice, splitAt, splitAtFutureStream, splitAtHead, splitAtHeadFutureStream, then, zip, zip, zipWithIndexallMatch, anyMatch, cast, close, collect, count, findAny, findFirst, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, intersperse, isParallel, iterator, map, mapToDouble, mapToInt, mapToLong, max, merge, min, noneMatch, ofType, onClose, parallel, reduce, reduce, reduce, self, sequential, slice, sorted, sorted, spliterator, stream, toArray, toArray, unorderedcast, concat, cycle, cycle, duplicate, foldLeft, foldLeft, foldRight, foldRight, generate, generate, generate, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, intersperse, iterate, join, join, join, join, join, join, limit, limitUntil, limitWhile, maxBy, maxBy, minBy, minBy, ofType, partition, reverse, scanLeft, scanRight, seq, seq, seq, seq, seq, shuffle, shuffle, skip, skipUntil, skipWhile, slice, splitAt, splitAtHead, toCollection, toCollection, toList, toList, toMap, toMap, toMap, toSet, toSet, toString, toString, toString, unfold, unzip, unzip, unzip, unzip, zip, zip, zipWithIndexassureSimpleReactException, futureStream, handleExceptions, lastActiveArray, merge, parallelCommonBuilder, parallelOf, simple, simple, simple, streamCompletableFutures, withgetLastActive, getLazyCollector, getWaitStrategy, run, run, run, run, runOnCurrentaggregateResults, block, block, block, block, block, blockAndExtract, blockAndExtract, capture, collectResults, first, getSafe, last, submitAndBlockgetErrorHandler, getLastActive, getRetrier, getSimpleReact, getTaskExecutor, isEager, withEager, withErrorHandler, withLastActive, withLazyCollector, withQueueFactory, withRetrier, withTaskExecutor, withWaitStrategyisEager, toQueuegetQueueFactorygetQueueFactorypublic EagerFutureStreamImpl(java.util.stream.Stream<java.util.concurrent.CompletableFuture<U>> stream, java.util.concurrent.ExecutorService executor, com.nurkiewicz.asyncretry.RetryExecutor retrier)
stream - Stream that will generate the events that will be reacted to.executor - The next stage's tasks will be submitted to this executor