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
This Shape is used for graphs that have neither open inputs nor open outputs. Only such a Graph can be materialized by a Materializer.
  • Constructor Details

    • ClosedShape

      public ClosedShape()
  • Method Details

    • 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 String toString()
    • getInlets

      public static List<Inlet<?>> getInlets()
    • getOutlets

      public static 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)