public enum BackpressureStrategy extends Enum<BackpressureStrategy>
| Enum Constant and Description | 
|---|
| BUFFERBuffers all onNext values until the downstream consumes it. | 
| DROPDrops the most recent onNext value if the downstream can't keep up. | 
| ERRORSignals a MissingBackpressureException in case the downstream can't keep up. | 
| LATESTKeeps only the latest onNext value, overwriting any previous value if the
 downstream can't keep up. | 
| MISSINGOnNext events are written without any buffering or dropping. | 
| Modifier and Type | Method and Description | 
|---|---|
| static BackpressureStrategy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static BackpressureStrategy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final BackpressureStrategy MISSING
Useful when one applies one of the custom-parameter onBackpressureXXX operators.
public static final BackpressureStrategy ERROR
public static final BackpressureStrategy BUFFER
public static final BackpressureStrategy DROP
public static final BackpressureStrategy LATEST
public static BackpressureStrategy[] values()
for (BackpressureStrategy c : BackpressureStrategy.values()) System.out.println(c);
public static BackpressureStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null