Top Description Fields Constructors Methods
io.reactivex.rxjava3.core

public final Enum BackpressureOverflowStrategy

extends Enum<BackpressureOverflowStrategy>
Class Inheritance

Options to deal with buffer overflow when using onBackpressureBuffer.

Field Summary

Modifier and TypeField and Description
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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static BackpressureOverflowStrategy
public static BackpressureOverflowStrategy[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DROP_LATESTback to summary
public static final BackpressureOverflowStrategy DROP_LATEST

Drop the latest value from the buffer.

DROP_OLDESTback to summary
public static final BackpressureOverflowStrategy DROP_OLDEST

Drop the oldest value from the buffer.

ERRORback to summary
public static final BackpressureOverflowStrategy ERROR

Signal a MissingBackpressureException and terminate the sequence.

Constructor Detail

BackpressureOverflowStrategyback to summary
private BackpressureOverflowStrategy()

Method Detail

valueOfback to summary
public static BackpressureOverflowStrategy valueOf(String name)
valuesback to summary
public static BackpressureOverflowStrategy[] values()