Package akka.stream
Class FlowShape<I,O>
- java.lang.Object
-
- akka.stream.Shape
-
- akka.stream.FlowShape<I,O>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class FlowShape<I,O> extends Shape implements scala.Product, scala.Serializable
A FlowShape
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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <I,O>
FlowShape<I,O>apply(Inlet<I> in, Outlet<O> out)
boolean
canEqual(java.lang.Object x$1)
<I,O>
FlowShape<I,O>copy(Inlet<I> in, Outlet<O> out)
<I,O>
Inlet<I>copy$default$1()
<I,O>
Outlet<O>copy$default$2()
FlowShape<I,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
equals(java.lang.Object x$1)
int
hashCode()
Inlet<I>
in()
scala.collection.immutable.Seq<Inlet<?>>
inlets()
static <I,O>
FlowShape<I,O>of(Inlet<I> inlet, Outlet<O> outlet)
Outlet<O>
out()
scala.collection.immutable.Seq<Outlet<?>>
outlets()
Scala API: get a list of all output portsint
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static <I,O>
scala.Option<scala.Tuple2<Inlet<I>,Outlet<O>>>unapply(FlowShape<I,O> x$0)
-
Methods inherited from class akka.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
-
-
-
-
Method Detail
-
unapply
public static <I,O> scala.Option<scala.Tuple2<Inlet<I>,Outlet<O>>> unapply(FlowShape<I,O> x$0)
-
outlets
public scala.collection.immutable.Seq<Outlet<?>> outlets()
Description copied from class:Shape
Scala API: get a list of all output ports
-
deepCopy
public FlowShape<I,O> 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$default$1
public <I,O> Inlet<I> copy$default$1()
-
copy$default$2
public <I,O> Outlet<O> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-