public abstract class StageState<In,Out>
extends java.lang.Object
StatefulStage
is defined by these two methods, which
has the same semantics as corresponding methods in PushPullStage
.Constructor and Description |
---|
StageState() |
Modifier and Type | Method and Description |
---|---|
SyncDirective |
onPull(Context<Out> ctx) |
abstract SyncDirective |
onPush(In elem,
Context<Out> ctx) |
public abstract SyncDirective onPush(In elem, Context<Out> ctx)
public SyncDirective onPull(Context<Out> ctx)