akka.io
Class PipelineStage$
java.lang.Object
akka.io.PipelineStage$
public class PipelineStage$
- extends java.lang.Object
Field Summary |
static PipelineStage$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Method Summary |
|
combine(PipelineStage<Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> left,
PipelineStage<Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> right)
Java API: combine the two stages such that the command pipeline of the
left stage is used and the event pipeline of the right, discarding the
other two sub-pipelines. |
<Ctx extends PipelineContext,CmdAbove,CmdBelow,CmdBelowBelow,EvtAbove,EvtBelow,EvtBelowBelow>
PipelineStage<Ctx,CmdAbove,CmdBelowBelow,EvtAbove,EvtBelowBelow> |
|
sequence(PipelineStage<? super Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> left,
PipelineStage<? super Ctx,CmdBelow,CmdBelowBelow,EvtBelow,EvtBelowBelow> right)
Java API: attach the two given stages such that the command output of the
first is fed into the command input of the second, and the event output of
the second is fed into the event input of the first. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE$
public static final PipelineStage$ MODULE$
- Static reference to the singleton instance of this Scala object.
PipelineStage$
public PipelineStage$()
sequence
public <Ctx extends PipelineContext,CmdAbove,CmdBelow,CmdBelowBelow,EvtAbove,EvtBelow,EvtBelowBelow> PipelineStage<Ctx,CmdAbove,CmdBelowBelow,EvtAbove,EvtBelowBelow> sequence(PipelineStage<? super Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> left,
PipelineStage<? super Ctx,CmdBelow,CmdBelowBelow,EvtBelow,EvtBelowBelow> right)
- Java API: attach the two given stages such that the command output of the
first is fed into the command input of the second, and the event output of
the second is fed into the event input of the first. In other words:
sequence the stages such that the left one is on top of the right one.
- Parameters:
left
- the left or upper pipeline stageright
- the right or lower pipeline stage
- Returns:
- a pipeline stage representing the sequence of the two stages
combine
public <Ctx extends PipelineContext,CmdAbove,CmdBelow,EvtAbove,EvtBelow> PipelineStage<Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> combine(PipelineStage<Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> left,
PipelineStage<Ctx,CmdAbove,CmdBelow,EvtAbove,EvtBelow> right)
- Java API: combine the two stages such that the command pipeline of the
left stage is used and the event pipeline of the right, discarding the
other two sub-pipelines.
- Parameters:
left
- the command pipelineright
- the event pipeline
- Returns:
- a pipeline stage using the left command pipeline and the right event pipeline