Top Description Fields Constructors Methods
reactor.core.publisher

public final Enum BufferOverflowStrategy

extends Enum<BufferOverflowStrategy>
Class Inheritance

Strategies to deal with overflow of a buffer during backpressure buffering.
Author
Simon Baslé

Field Summary

Modifier and TypeField and Description
public static final BufferOverflowStrategy
DROP_LATEST

Drop the new element without propagating an error when the buffer is full.

public static final BufferOverflowStrategy
DROP_OLDEST

When the buffer is full, remove the oldest element from it and offer the new element at the end instead.

public static final BufferOverflowStrategy
ERROR

Propagate an IllegalStateException when the buffer is full.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

DROP_LATESTback to summary
public static final BufferOverflowStrategy DROP_LATEST

Drop the new element without propagating an error when the buffer is full.

DROP_OLDESTback to summary
public static final BufferOverflowStrategy DROP_OLDEST

When the buffer is full, remove the oldest element from it and offer the new element at the end instead. Do not propagate an error.

ERRORback to summary
public static final BufferOverflowStrategy ERROR

Propagate an IllegalStateException when the buffer is full.

Constructor Detail

BufferOverflowStrategyback to summary
private BufferOverflowStrategy()

Method Detail

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