public final class StagesAccumulator<A> extends Object
| Modifier and Type | Method and Description |
|---|---|
<V> Stage<V> |
addStage(Stage<V> stage,
Reducer<A,V> reducer) |
static <A> StagesAccumulator<A> |
create(A initialAccumulator) |
Stage<A> |
get() |
A |
getAccumulator() |
int |
getActiveStages() |
Throwable |
getException() |
<V> SettableStage<V> |
newStage(Reducer<A,V> reducer) |
<V> StagesAccumulator<A> |
withStage(Stage<V> stage,
Reducer<A,V> reducer) |
public static <A> StagesAccumulator<A> create(A initialAccumulator)
public <V> StagesAccumulator<A> withStage(Stage<V> stage, Reducer<A,V> reducer)
public <V> SettableStage<V> newStage(Reducer<A,V> reducer)
public A getAccumulator()
public Throwable getException()
public int getActiveStages()
Copyright © 2019. All rights reserved.