Package org.apache.pekko.stream
Class FlowShape<I,O>
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.FlowShape<I,O>
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
A Flow
Shape
has exactly one input and one output, it looks from the
outside like a pipe (but it can be a complex topology of streams within of
course).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <I,
O> FlowShape<I, O> boolean
<I,
O> FlowShape<I, O> <I,
O> Inlet<I> <I,
O> Outlet<O> deepCopy()
Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.boolean
int
hashCode()
in()
scala.collection.immutable.Seq<Inlet<?>>
inlets()
Scala API: get a list of all input portsstatic <I,
O> FlowShape<I, O> Java APIout()
scala.collection.immutable.Seq<Outlet<?>>
outlets()
Scala API: get a list of all output portsint
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
toString()
Methods inherited from class org.apache.pekko.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
FlowShape
-
-
Method Details
-
of
Java API -
apply
-
unapply
-
in
-
out
-
inlets
Description copied from class:Shape
Scala API: get a list of all input ports -
outlets
Description copied from class:Shape
Scala API: get a list of all output ports -
deepCopy
Description copied from class:Shape
Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system. -
copy
-
copy$default$1
-
copy$default$2
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-