public abstract class ThrottleMode
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ThrottleMode.Enforcing$
Makes throttle fail with exception when upstream is faster than throttle rate
|
static class |
ThrottleMode.Shaping$
Tells throttle to make pauses before emitting messages to meet throttle rate
|
Constructor and Description |
---|
ThrottleMode() |
Modifier and Type | Method and Description |
---|---|
static ThrottleMode.Enforcing$ |
enforcing()
Java API: Makes throttle fail with exception when upstream is faster than throttle rate
|
static ThrottleMode.Shaping$ |
shaping()
Java API: Tells throttle to make pauses before emitting messages to meet throttle rate
|
public static ThrottleMode.Shaping$ shaping()
public static ThrottleMode.Enforcing$ enforcing()