Class ThrottleMode$

java.lang.Object
org.apache.pekko.stream.ThrottleMode$

public class ThrottleMode$ extends Object
  • Field Details

    • MODULE$

      public static final ThrottleMode$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • ThrottleMode$

      public ThrottleMode$()
  • Method Details

    • 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