Package akka.stream
Class ThrottleMode
- java.lang.Object
-
- akka.stream.ThrottleMode
-
- Direct Known Subclasses:
ThrottleMode.Enforcing$
,ThrottleMode.Shaping$
public abstract class ThrottleMode extends java.lang.Object
Represents a mode that decides how to deal exceed rate for Throttle operator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThrottleMode.Enforcing$
static class
ThrottleMode.Shaping$
-
Constructor Summary
Constructors Constructor Description ThrottleMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThrottleMode.Enforcing$
enforcing()
Java API: Makes throttle fail with exception when upstream is faster than throttle ratestatic ThrottleMode.Shaping$
shaping()
-
-
-
Method Detail
-
shaping
public static ThrottleMode.Shaping$ shaping()
-
enforcing
public static ThrottleMode.Enforcing$ enforcing()
Java API: Makes throttle fail with exception when upstream is faster than throttle rate- Returns:
- (undocumented)
-
-