Package org.apache.pekko.stream
Class ClosedShape
- java.lang.Object
-
- org.apache.pekko.stream.Shape
-
- org.apache.pekko.stream.ClosedShape
-
- Direct Known Subclasses:
ClosedShape$
public abstract class ClosedShape extends Shape
ThisShape
is used for graphs that have neither open inputs nor open outputs. Only such aGraph
can be materialized by aMaterializer
.
-
-
Constructor Summary
Constructors Constructor Description ClosedShape()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClosedShape$
deepCopy()
static java.util.List<Inlet<?>>
getInlets()
static ClosedShape
getInstance()
Java API: obtain ClosedShape instancestatic java.util.List<Outlet<?>>
getOutlets()
static boolean
hasSamePortsAndShapeAs(Shape s)
static boolean
hasSamePortsAs(Shape s)
static scala.collection.immutable.Seq<Inlet<?>>
inlets()
static scala.collection.immutable.Seq<Outlet<?>>
outlets()
static void
requireSamePortsAndShapeAs(Shape s)
static void
requireSamePortsAs(Shape s)
static java.lang.String
toString()
-
Methods inherited from class org.apache.pekko.stream.Shape
deepCopy, getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, inlets, outlets, requireSamePortsAndShapeAs, requireSamePortsAs
-
-
-
-
Method Detail
-
inlets
public static scala.collection.immutable.Seq<Inlet<?>> inlets()
-
outlets
public static scala.collection.immutable.Seq<Outlet<?>> outlets()
-
deepCopy
public static ClosedShape$ deepCopy()
-
getInstance
public static ClosedShape getInstance()
Java API: obtain ClosedShape instance
-
toString
public static java.lang.String toString()
-
getInlets
public static java.util.List<Inlet<?>> getInlets()
-
getOutlets
public static java.util.List<Outlet<?>> getOutlets()
-
hasSamePortsAs
public static boolean hasSamePortsAs(Shape s)
-
hasSamePortsAndShapeAs
public static boolean hasSamePortsAndShapeAs(Shape s)
-
requireSamePortsAs
public static void requireSamePortsAs(Shape s)
-
requireSamePortsAndShapeAs
public static void requireSamePortsAndShapeAs(Shape s)
-
-