c

akka.stream.impl

Throttle

class Throttle[T] extends SimpleLinearGraphStage[T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Throttle
  2. SimpleLinearGraphStage
  3. GraphStage
  4. GraphStageWithMaterializedValue
  5. Graph
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Throttle(cost: Int, per: FiniteDuration, maximumBurst: Int, costCalculation: (T) ⇒ Int, mode: ThrottleMode)

Type Members

  1. type Shape = FlowShape[T, T]

    Type-level accessor for the shape parameter of this graph.

    Type-level accessor for the shape parameter of this graph.

    Definition Classes
    Graph

Value Members

  1. def addAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]
    Definition Classes
    Graph
  2. def async: Graph[FlowShape[T, T], NotUsed]

    Put an asynchronous boundary around this Graph

    Put an asynchronous boundary around this Graph

    Definition Classes
    Graph
  3. val cost: Int
  4. val costCalculation: (T) ⇒ Int
  5. def createLogic(inheritedAttributes: Attributes): GraphStageLogic
    Definition Classes
    ThrottleGraphStage
  6. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
  7. val in: Inlet[T]
    Definition Classes
    SimpleLinearGraphStage
  8. val maximumBurst: Int
  9. val mode: ThrottleMode
  10. final lazy val module: Module

    INTERNAL API.

    INTERNAL API.

    Every materializable element must be backed by a stream layout module

    Definition Classes
    GraphStageWithMaterializedValueGraph
  11. def named(name: String): Graph[FlowShape[T, T], NotUsed]
    Definition Classes
    Graph
  12. val out: Outlet[T]
    Definition Classes
    SimpleLinearGraphStage
  13. val per: FiniteDuration
  14. val shape: FlowShape[T, T]
    Definition Classes
    SimpleLinearGraphStageGraph
  15. def toString(): String
    Definition Classes
    Throttle → AnyRef → Any
  16. final def withAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]
    Definition Classes
    GraphStageWithMaterializedValueGraph