public interface ConfigurableStream<T>
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.util.function.Consumer<java.lang.Throwable>> |
getErrorHandler() |
StreamWrapper |
getLastActive() |
com.nurkiewicz.asyncretry.RetryExecutor |
getRetrier() |
BaseSimpleReact |
getSimpleReact() |
java.util.concurrent.ExecutorService |
getTaskExecutor() |
boolean |
isEager() |
SimpleReactStream<T> |
withEager(boolean eager) |
SimpleReactStream<T> |
withErrorHandler(java.util.Optional<java.util.function.Consumer<java.lang.Throwable>> errorHandler) |
SimpleReactStream<T> |
withLastActive(StreamWrapper streamWrapper) |
SimpleReactStream<T> |
withLazyCollector(LazyResultConsumer<T> lazy) |
SimpleReactStream<T> |
withQueueFactory(QueueFactory<T> queue) |
SimpleReactStream<T> |
withRetrier(com.nurkiewicz.asyncretry.RetryExecutor retry) |
SimpleReactStream<T> |
withTaskExecutor(java.util.concurrent.ExecutorService e) |
SimpleReactStream<T> |
withWaitStrategy(java.util.function.Consumer<java.util.concurrent.CompletableFuture> c) |
SimpleReactStream<T> withTaskExecutor(java.util.concurrent.ExecutorService e)
SimpleReactStream<T> withRetrier(com.nurkiewicz.asyncretry.RetryExecutor retry)
SimpleReactStream<T> withWaitStrategy(java.util.function.Consumer<java.util.concurrent.CompletableFuture> c)
SimpleReactStream<T> withEager(boolean eager)
SimpleReactStream<T> withLazyCollector(LazyResultConsumer<T> lazy)
SimpleReactStream<T> withQueueFactory(QueueFactory<T> queue)
SimpleReactStream<T> withLastActive(StreamWrapper streamWrapper)
SimpleReactStream<T> withErrorHandler(java.util.Optional<java.util.function.Consumer<java.lang.Throwable>> errorHandler)
StreamWrapper getLastActive()
java.util.concurrent.ExecutorService getTaskExecutor()
com.nurkiewicz.asyncretry.RetryExecutor getRetrier()
boolean isEager()
BaseSimpleReact getSimpleReact()
java.util.Optional<java.util.function.Consumer<java.lang.Throwable>> getErrorHandler()