Packages

class MaxInFlight[I, O] extends GraphStage[BidiShape[I, I, O, O]]

Enforces that at most maxInFlight items traverse the flow underneath this one. Requires the flow underneath to always produce 1 output element for 1 input element in order to work correctly. With respect to completion, failure and cancellation, the input and output stream behave like normal Flows, except that if the output stream is failed, cancelled or completed, the input stream is completed.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MaxInFlight
  2. GraphStage
  3. GraphStageWithMaterializedValue
  4. Graph
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MaxInFlight(maxInFlight: Int, capacityCounter: Counter, lengthCounter: Counter)

Type Members

  1. type Shape = BidiShape[I, I, O, O]
    Definition Classes
    Graph

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAttributes(attr: Attributes): Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def async(dispatcher: String, inputBufferSize: Int): Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    Graph
  7. def async(dispatcher: String): Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    Graph
  8. def async: Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    Graph
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def createLogic(inheritedAttributes: Attributes): GraphStageLogic
    Definition Classes
    MaxInFlight → GraphStage
    Annotations
    @SuppressWarnings()
  11. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
    Definition Classes
    GraphStage → GraphStageWithMaterializedValue
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def getAttributes: Attributes
    Definition Classes
    Graph
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val in1: Inlet[I]
  18. val in2: Inlet[O]
  19. def initialAttributes: Attributes
    Attributes
    protected
    Definition Classes
    GraphStageWithMaterializedValue
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def named(name: String): Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    Graph
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val out1: Outlet[I]
  26. val out2: Outlet[O]
  27. def shape: BidiShape[I, I, O, O]
    Definition Classes
    MaxInFlight → Graph
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def withAttributes(attr: Attributes): Graph[BidiShape[I, I, O, O], NotUsed]
    Definition Classes
    GraphStageWithMaterializedValue → Graph

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from GraphStage[BidiShape[I, I, O, O]]

Inherited from Graph[BidiShape[I, I, O, O], NotUsed]

Inherited from AnyRef

Inherited from Any

Ungrouped