Class MergeLatest<T,M>

All Implemented Interfaces:
Graph<UniformFanInShape<T,M>,NotUsed>

public final class MergeLatest<T,M> extends GraphStage<UniformFanInShape<T,M>>
  • Constructor Details

    • MergeLatest

      public MergeLatest(int inputPorts, boolean eagerClose, scala.Function1<Object,M> buildElem)
  • Method Details

    • apply

      public static <T> GraphStage<UniformFanInShape<T,scala.collection.immutable.List<T>>> apply(int inputPorts, boolean eagerComplete)
      Create a new MergeLatest with the specified number of input ports.

      Parameters:
      inputPorts - number of input ports
      eagerComplete - if true, the merge latest will complete as soon as one of its inputs completes.
    • apply$default$2

      public static <T> boolean apply$default$2()
    • inputPorts

      public int inputPorts()
    • eagerClose

      public boolean eagerClose()
    • in

      public scala.collection.immutable.IndexedSeq<Inlet<T>> in()
    • out

      public Outlet<M> out()
    • shape

      public UniformFanInShape<T,M> shape()
      Description copied from interface: Graph
      The shape of a graph is all that is externally visible: its inlets and outlets.
    • createLogic

      public GraphStageLogic createLogic(Attributes inheritedAttributes)
      Specified by:
      createLogic in class GraphStage<UniformFanInShape<T,M>>
    • toString

      public String toString()
      Overrides:
      toString in class Object