object OverflowStrategy extends Serializable
- Source
- OverflowStrategy.scala
- Alphabetic
- By Inheritance
- OverflowStrategy
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
dropNew: OverflowStrategy
If the buffer is full when a new element arrives, drops 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.