Package org.apache.pekko.stream
Class UniformFanOutShape<I,O>
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.FanOutShape<I>
org.apache.pekko.stream.UniformFanOutShape<I,O>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.stream.FanOutShape
FanOutShape.Init<I>, FanOutShape.Name<I>, FanOutShape.Name$, FanOutShape.Ports<I>, FanOutShape.Ports$ -
Constructor Summary
ConstructorsConstructorDescriptionUniformFanOutShape(int n) UniformFanOutShape(int n, String name) UniformFanOutShape(int n, FanOutShape.Init<I> _init) UniformFanOutShape(Inlet<I> inlet, Outlet<O>[] outlets) -
Method Summary
Modifier and TypeMethodDescriptionstatic <I,O> UniformFanOutShape<I, O> protected FanOutShape<I>construct(FanOutShape.Init<I> init) 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.out(int n) outlets()Methods inherited from class org.apache.pekko.stream.FanOutShape
in, inlets, newOutletMethods inherited from class org.apache.pekko.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
-
Constructor Details
-
UniformFanOutShape
-
UniformFanOutShape
public UniformFanOutShape(int n) -
UniformFanOutShape
-
UniformFanOutShape
-
-
Method Details
-
apply
public static <I,O> UniformFanOutShape<I,O> apply(Inlet<I> inlet, scala.collection.immutable.Seq<Outlet<O>> outlets) -
construct
- Specified by:
constructin classFanOutShape<I>
-
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.- Overrides:
deepCopyin classFanOutShape<I>
-
outlets
-
out
-