class Throttle[T] extends SimpleLinearGraphStage[T]
Ordering
- Alphabetic
- By Inheritance
Inherited
- Throttle
- SimpleLinearGraphStage
- GraphStage
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Throttle(cost: Int, per: FiniteDuration, maximumBurst: Int, costCalculation: (T) ⇒ Int, mode: ThrottleMode)
Type Members
Value Members
-
def
addAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]
- Definition Classes
- Graph
-
def
async: Graph[FlowShape[T, T], NotUsed]
Put an asynchronous boundary around this
Graph
Put an asynchronous boundary around this
Graph
- Definition Classes
- Graph
- val cost: Int
- val costCalculation: (T) ⇒ Int
-
def
createLogic(inheritedAttributes: Attributes): GraphStageLogic
- Definition Classes
- Throttle → GraphStage
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
- Definition Classes
- GraphStage → GraphStageWithMaterializedValue
-
val
in: Inlet[T]
- Definition Classes
- SimpleLinearGraphStage
- val maximumBurst: Int
- val mode: ThrottleMode
-
final
lazy val
module: Module
INTERNAL API.
INTERNAL API.
Every materializable element must be backed by a stream layout module
- Definition Classes
- GraphStageWithMaterializedValue → Graph
-
def
named(name: String): Graph[FlowShape[T, T], NotUsed]
- Definition Classes
- Graph
-
val
out: Outlet[T]
- Definition Classes
- SimpleLinearGraphStage
- val per: FiniteDuration
-
val
shape: FlowShape[T, T]
- Definition Classes
- SimpleLinearGraphStage → Graph
-
def
toString(): String
- Definition Classes
- Throttle → AnyRef → Any
-
final
def
withAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]
- Definition Classes
- GraphStageWithMaterializedValue → Graph