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.booleaninthashCode()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 portsintproductElement(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, requireSamePortsAsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
FlowShape
-
-
Method Details
-
of
Java API -
apply
-
unapply
-
in
-
out
-
inlets
Description copied from class:ShapeScala API: get a list of all input ports -
outlets
Description copied from class:ShapeScala API: get a list of all output ports -
deepCopy
Description copied from class:ShapeCreate 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:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-