BackPressure

final case class BackPressure(bufferSize: Int) extends OverflowStrategy[Nothing]

A OverflowStrategy specifying that on reaching the maximum size, the pipeline should try to apply back-pressure (i.e. it should try delaying the data source in producing more elements, until the the consumer has drained the buffer and space is available).

A OverflowStrategy specifying that on reaching the maximum size, the pipeline should try to apply back-pressure (i.e. it should try delaying the data source in producing more elements, until the the consumer has drained the buffer and space is available).

Value Params
bufferSize

specifies how many events our buffer can hold before overflowing

trait Product
trait Equals
class OverflowStrategy[Nothing]
trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Inherited fields

val isEvicted: Boolean
Inherited from
OverflowStrategy
val isSynchronous: Boolean
Inherited from
OverflowStrategy