| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | BackpressureOverflow.DropLatest
Drop most recent items, but not |
| pack-priv static class | BackpressureOverflow.DropOldest
Drop oldest items from the buffer making room for newer ones. |
| pack-priv static class | BackpressureOverflow.Error
|
| public 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 |
|---|---|
| public static final BackpressureOverflow. | ON_OVERFLOW_DEFAULT
By default, signal a MissingBackressureException due to lack of requests. |
| public static final BackpressureOverflow. | ON_OVERFLOW_DROP_LATEST
Drop the latest value. |
| public static final BackpressureOverflow. | ON_OVERFLOW_DROP_OLDEST
Drop the oldest value in the buffer. |
| public static final BackpressureOverflow. | ON_OVERFLOW_ERROR
Signal a MissingBackressureException due to lack of requests. |
| Access | Constructor and Description |
|---|---|
| private |
| ON_OVERFLOW_DEFAULT | back to summary |
|---|---|
| public static final BackpressureOverflow. By default, signal a MissingBackressureException due to lack of requests. | |
| ON_OVERFLOW_DROP_LATEST | back to summary |
|---|---|
| public static final BackpressureOverflow. Drop the latest value. | |
| ON_OVERFLOW_DROP_OLDEST | back to summary |
|---|---|
| public static final BackpressureOverflow. Drop the oldest value in the buffer. | |
| ON_OVERFLOW_ERROR | back to summary |
|---|---|
| public static final BackpressureOverflow. Signal a MissingBackressureException due to lack of requests. | |
| BackpressureOverflow | back to summary |
|---|---|
| private BackpressureOverflow() | |
onError nor unsubscribe from source
(as {code OperatorOnBackpressureDrop}).
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final BackpressureOverflow. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | mayAttemptDrop()
Implements rx. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final BackpressureOverflow. | |
| DropLatest | back to summary |
|---|---|
| private DropLatest() | |
| mayAttemptDrop | back to summary |
|---|---|
| public boolean mayAttemptDrop() Implements rx. Doc from rx. Whether the Backpressure manager should attempt to drop the oldest item, or simply drop the item currently causing backpressure.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final BackpressureOverflow. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | mayAttemptDrop()
Implements rx. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final BackpressureOverflow. | |
| DropOldest | back to summary |
|---|---|
| private DropOldest() | |
| mayAttemptDrop | back to summary |
|---|---|
| public boolean mayAttemptDrop() Implements rx. Doc from rx. Whether the Backpressure manager should attempt to drop the oldest item, or simply drop the item currently causing backpressure.
| |
onError a MissingBackpressureException and unsubscribe from source.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final BackpressureOverflow. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | mayAttemptDrop()
Implements rx. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final BackpressureOverflow. | |
| Error | back to summary |
|---|---|
| private Error() | |
| mayAttemptDrop | back to summary |
|---|---|
| public boolean mayAttemptDrop() throws MissingBackpressureException Implements rx. Doc from rx. Whether the Backpressure manager should attempt to drop the oldest item, or simply drop the item currently causing backpressure.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true to request drop of the oldest item, false to drop the newest.Whether the Backpressure manager should attempt to drop the oldest item, or simply drop the item currently causing backpressure. |
| mayAttemptDrop | back to summary |
|---|---|
| public boolean mayAttemptDrop() throws MissingBackpressureException Whether the Backpressure manager should attempt to drop the oldest item, or simply drop the item currently causing backpressure.
| |