R
- result typepublic class ExecutionMonitoring<R> extends Object
Modifier and Type | Field and Description |
---|---|
PartialResultConsumer<R> |
partialResultConsumer |
ProgressObserver |
progressObserver |
Modifier and Type | Method and Description |
---|---|
static <R> ExecutionMonitoring<R> |
of() |
static <R> ExecutionMonitoring<R> |
of(ProgressObserver progressObserver)
Create without
partialResultConsumer |
static <R> ExecutionMonitoring<R> |
of(ProgressObserver progressObserver,
PartialResultConsumer<R> partialResultConsumer) |
<T> ExecutionMonitoring<T> |
transformedResult(Function<T,R> function) |
public final ProgressObserver progressObserver
public final PartialResultConsumer<R> partialResultConsumer
public static <R> ExecutionMonitoring<R> of()
public static <R> ExecutionMonitoring<R> of(ProgressObserver progressObserver)
partialResultConsumer
public static <R> ExecutionMonitoring<R> of(ProgressObserver progressObserver, PartialResultConsumer<R> partialResultConsumer)
public <T> ExecutionMonitoring<T> transformedResult(Function<T,R> function)