public class ReactStream
extends java.lang.Object
| Constructor and Description |
|---|
ReactStream() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleReact |
eager() |
static SimpleReact |
eager(java.util.concurrent.ExecutorService executor) |
static SimpleReact |
eager(java.util.concurrent.ExecutorService executor,
com.nurkiewicz.asyncretry.RetryExecutor retry) |
static SimpleReact |
eager(com.nurkiewicz.asyncretry.RetryExecutor retry) |
static <U> Stage<U> |
eager(U... array)
Construct an Eager SimpleReact Stream from specified array
|
static SimpleReact |
lazy() |
static SimpleReact |
lazy(java.util.concurrent.ExecutorService executor) |
static SimpleReact |
lazy(java.util.concurrent.ExecutorService executor,
com.nurkiewicz.asyncretry.RetryExecutor retry) |
static SimpleReact |
lazy(com.nurkiewicz.asyncretry.RetryExecutor retry) |
static <U> Stage<U> |
lazy(U... array)
Construct a SimpleReact Stage from a supplied array
|
public static <U> Stage<U> lazy(U... array)
array - Array of value to form the reactive stream / sequencepublic static SimpleReact lazy()
public static SimpleReact lazy(java.util.concurrent.ExecutorService executor)
executor - Executor this SimpleReact instance will use to execute concurrent tasks.public static SimpleReact lazy(com.nurkiewicz.asyncretry.RetryExecutor retry)
retry - RetryExecutor this SimpleReact instance will use to retry concurrent tasks.public static SimpleReact lazy(java.util.concurrent.ExecutorService executor, com.nurkiewicz.asyncretry.RetryExecutor retry)
executor - Executor this SimpleReact instance will use to execute concurrent tasks.retry - RetryExecutor this SimpleReact instance will use to retry concurrent tasks.public static <U> Stage<U> eager(U... array)
array - Values to react topublic static SimpleReact eager()
public static SimpleReact eager(java.util.concurrent.ExecutorService executor)
executor - Executor this SimpleReact instance will use to execute concurrent tasks.public static SimpleReact eager(com.nurkiewicz.asyncretry.RetryExecutor retry)
retry - RetryExecutor this SimpleReact instance will use to retry concurrent tasks.public static SimpleReact eager(java.util.concurrent.ExecutorService executor, com.nurkiewicz.asyncretry.RetryExecutor retry)
executor - Executor this SimpleReact instance will use to execute concurrent tasks.retry - RetryExecutor this SimpleReact instance will use to retry concurrent tasks.