public enum BackpressureKind extends Enum<BackpressureKind>
Enum Constant and Description |
---|
ERROR
The operator will emit a
MissingBackpressureException
if the downstream didn't request enough or in time. |
FULL
The operator fully supports backpressure and may coordinate downstream requests
with upstream requests through batching, arbitration or by other means.
|
NONE
The operator ignores all kinds of backpressure and may overflow the downstream.
|
PASS_THROUGH
The backpressure-related requests pass through this operator without change.
|
SPECIAL
The operator performs special backpressure management; see the associated javadoc.
|
UNBOUNDED_IN
The operator requests
Long.MAX_VALUE from upstream but respects the backpressure
of the downstream. |
Modifier and Type | Method and Description |
---|---|
static BackpressureKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackpressureKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackpressureKind PASS_THROUGH
public static final BackpressureKind FULL
public static final BackpressureKind SPECIAL
public static final BackpressureKind UNBOUNDED_IN
Long.MAX_VALUE
from upstream but respects the backpressure
of the downstream.public static final BackpressureKind ERROR
MissingBackpressureException
if the downstream didn't request enough or in time.public static final BackpressureKind NONE
public static BackpressureKind[] values()
for (BackpressureKind c : BackpressureKind.values()) System.out.println(c);
public static BackpressureKind 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