public final enum

BackpressureOverflowStrategy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ io.reactivex.BackpressureOverflowStrategy

Class Overview

Options to deal with buffer overflow when using onBackpressureBuffer.

Summary

Enum Values
BackpressureOverflowStrategy  DROP_LATEST  Drop the latest value from the buffer. 
BackpressureOverflowStrategy  DROP_OLDEST  Drop the oldest value from the buffer. 
BackpressureOverflowStrategy  ERROR  Signal a MissingBackpressureException and terminate the sequence. 
Public Methods
static BackpressureOverflowStrategy valueOf(String name)
final static BackpressureOverflowStrategy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BackpressureOverflowStrategy DROP_LATEST

Drop the latest value from the buffer.

public static final BackpressureOverflowStrategy DROP_OLDEST

Drop the oldest value from the buffer.

public static final BackpressureOverflowStrategy ERROR

Signal a MissingBackpressureException and terminate the sequence.

Public Methods

public static BackpressureOverflowStrategy valueOf (String name)

public static final BackpressureOverflowStrategy[] values ()