Class LinearTraversalBuilder$
- java.lang.Object
-
- akka.stream.impl.LinearTraversalBuilder$
-
- All Implemented Interfaces:
java.io.Serializable
public class LinearTraversalBuilder$ extends java.lang.Object implements java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LinearTraversalBuilder$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description LinearTraversalBuilder$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Traversal
$lessinit$greater$default$8()
INTERNAL APIOptionVal<IslandTag>
$lessinit$greater$default$9()
Traversal
addMatCompose(Traversal t, scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object> matCompose)
LinearTraversalBuilder
apply(OptionVal<InPort> inPort, OptionVal<OutPort> outPort, int inOffset, int inSlots, Traversal traversalSoFar, OptionVal<TraversalBuilder> pendingBuilder, Attributes attributes, Traversal beforeBuilder, OptionVal<IslandTag> islandTag)
INTERNAL APITraversal
apply$default$8()
OptionVal<IslandTag>
apply$default$9()
LinearTraversalBuilder
empty(Attributes attributes)
Attributes
empty$default$1()
LinearTraversalBuilder
fromBuilder(TraversalBuilder traversalBuilder, Shape shape, scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object> combine)
scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object>
fromBuilder$default$3()
LinearTraversalBuilder
fromModule(StreamLayout.AtomicModule<Shape,java.lang.Object> module, Attributes attributes)
Create a traversal builder specialized for linear graphs.scala.Option<scala.Tuple9<OptionVal<InPort>,OptionVal<OutPort>,java.lang.Object,java.lang.Object,Traversal,OptionVal<TraversalBuilder>,Attributes,Traversal,OptionVal<IslandTag>>>
unapply(LinearTraversalBuilder x$0)
-
-
-
Field Detail
-
MODULE$
public static final LinearTraversalBuilder$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
$lessinit$greater$default$8
public Traversal $lessinit$greater$default$8()
INTERNAL APITraversal builder that is optimized for linear graphs (those that contain modules with at most one input and at most one output port). The Traversal is simply built up in reverse order and output ports are automatically assigned to -1 due to the nature of the graph. The only exception is when composites created by
CompositeTraversalBuilder
are embedded. These are not guaranteed to have their unwired input/output ports in a fixed location, therefore the last step of the Traversal might need to be changed in those cases from the -1 relative offset to something else (see rewireLastOutTo). See comments in akka.stream.impl.package for more details.
-
empty
public LinearTraversalBuilder empty(Attributes attributes)
-
empty$default$1
public Attributes empty$default$1()
-
fromModule
public LinearTraversalBuilder fromModule(StreamLayout.AtomicModule<Shape,java.lang.Object> module, Attributes attributes)
Create a traversal builder specialized for linear graphs. This is designed to be much faster and lightweight than its generic counterpart. It can be freely mixed with the generic builder in both ways.
-
addMatCompose
public Traversal addMatCompose(Traversal t, scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object> matCompose)
-
fromBuilder
public LinearTraversalBuilder fromBuilder(TraversalBuilder traversalBuilder, Shape shape, scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object> combine)
-
fromBuilder$default$3
public scala.Function2<scala.runtime.Nothing$,scala.runtime.Nothing$,java.lang.Object> fromBuilder$default$3()
-
apply
public LinearTraversalBuilder apply(OptionVal<InPort> inPort, OptionVal<OutPort> outPort, int inOffset, int inSlots, Traversal traversalSoFar, OptionVal<TraversalBuilder> pendingBuilder, Attributes attributes, Traversal beforeBuilder, OptionVal<IslandTag> islandTag)
INTERNAL APITraversal builder that is optimized for linear graphs (those that contain modules with at most one input and at most one output port). The Traversal is simply built up in reverse order and output ports are automatically assigned to -1 due to the nature of the graph. The only exception is when composites created by
CompositeTraversalBuilder
are embedded. These are not guaranteed to have their unwired input/output ports in a fixed location, therefore the last step of the Traversal might need to be changed in those cases from the -1 relative offset to something else (see rewireLastOutTo). See comments in akka.stream.impl.package for more details.
-
apply$default$8
public Traversal apply$default$8()
-
unapply
public scala.Option<scala.Tuple9<OptionVal<InPort>,OptionVal<OutPort>,java.lang.Object,java.lang.Object,Traversal,OptionVal<TraversalBuilder>,Attributes,Traversal,OptionVal<IslandTag>>> unapply(LinearTraversalBuilder x$0)
-
-