Package akka.stream.impl.fusing
Class Split<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,Source<T,NotUsed>>>
-
- akka.stream.impl.fusing.Split<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Split.SplitAfter$
static class
Split.SplitBefore$
static class
Split.SplitDecision
-
Constructor Summary
Constructors Constructor Description Split(Split.SplitDecision decision, scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Graph<FlowShape<T,Source<T,NotUsed>>,NotUsed>
after(scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
GraphStageLogic
createLogic(Attributes inheritedAttributes)
Split.SplitDecision
decision()
Inlet<T>
in()
Outlet<Source<T,NotUsed>>
out()
scala.Function1<T,java.lang.Object>
p()
FlowShape<T,Source<T,NotUsed>>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.SubstreamCancelStrategy
substreamCancelStrategy()
java.lang.String
toString()
static <T> Graph<FlowShape<T,Source<T,NotUsed>>,NotUsed>
when(scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
Split
public Split(Split.SplitDecision decision, scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
-
-
Method Detail
-
when
public static <T> Graph<FlowShape<T,Source<T,NotUsed>>,NotUsed> when(scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
-
after
public static <T> Graph<FlowShape<T,Source<T,NotUsed>>,NotUsed> after(scala.Function1<T,java.lang.Object> p, SubstreamCancelStrategy substreamCancelStrategy)
-
decision
public Split.SplitDecision decision()
-
p
public scala.Function1<T,java.lang.Object> p()
-
substreamCancelStrategy
public SubstreamCancelStrategy substreamCancelStrategy()
-
shape
public FlowShape<T,Source<T,NotUsed>> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<T,Source<T,NotUsed>>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-