Package org.apache.pekko.stream
Class ThrottleMode$
- java.lang.Object
-
- org.apache.pekko.stream.ThrottleMode$
-
public class ThrottleMode$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ThrottleMode$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ThrottleMode$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrottleMode.Enforcing$
enforcing()
Java API: Makes throttle fail with exception when upstream is faster than throttle rateThrottleMode.Shaping$
shaping()
Java API: Tells throttle to make pauses before emitting messages to meet throttle rate
-
-
-
Field Detail
-
MODULE$
public static final ThrottleMode$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
shaping
public ThrottleMode.Shaping$ shaping()
Java API: Tells throttle to make pauses before emitting messages to meet throttle rate
-
enforcing
public ThrottleMode.Enforcing$ enforcing()
Java API: Makes throttle fail with exception when upstream is faster than throttle rate
-
-