public final class BackpressureOverflow
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BackpressureOverflow.Strategy
Represents a callback called when a value is about to be dropped
due to lack of downstream requests.
|
Modifier and Type | Field and Description |
---|---|
static BackpressureOverflow.Strategy |
ON_OVERFLOW_DEFAULT
By default, signal a MissingBackressureException due to lack of requests.
|
static BackpressureOverflow.Strategy |
ON_OVERFLOW_DROP_LATEST
Drop the latest value.
|
static BackpressureOverflow.Strategy |
ON_OVERFLOW_DROP_OLDEST
Drop the oldest value in the buffer.
|
static BackpressureOverflow.Strategy |
ON_OVERFLOW_ERROR
Signal a MissingBackressureException due to lack of requests.
|
public static final BackpressureOverflow.Strategy ON_OVERFLOW_ERROR
public static final BackpressureOverflow.Strategy ON_OVERFLOW_DEFAULT
public static final BackpressureOverflow.Strategy ON_OVERFLOW_DROP_OLDEST
public static final BackpressureOverflow.Strategy ON_OVERFLOW_DROP_LATEST