object OverflowStrategy extends Serializable
- Source
- OverflowStrategy.scala
- Alphabetic
- By Inheritance
- OverflowStrategy
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def backpressure: OverflowStrategy
If the buffer is full when a new element is available this strategy backpressures the upstream publisher until space becomes available in the buffer.
- def dropBuffer: OverflowStrategy
If the buffer is full when a new element arrives, drops all the buffered elements to make space for the new element.
- def dropHead: OverflowStrategy
If the buffer is full when a new element arrives, drops the oldest element from the buffer to make space for the new element.
- def dropTail: OverflowStrategy
If the buffer is full when a new element arrives, drops the youngest element from the buffer to make space for the new element.
- def fail: OverflowStrategy
If the buffer is full when a new element is available this strategy completes the stream with failure.
Deprecated Value Members
- def dropNew: OverflowStrategy
If the buffer is full when a new element arrives, drops the new element.
If the buffer is full when a new element arrives, drops the new element.
- Annotations
- @deprecated @Deprecated
- Deprecated
(Since version 2.6.11) Use Source.queue instead