Package akka.stream

Class DelayOverflowStrategy$

  • All Implemented Interfaces:
    java.io.Serializable, scala.Serializable

    public class DelayOverflowStrategy$
    extends java.lang.Object
    implements scala.Serializable
    If the buffer is full when a new element is available this strategy send next element downstream without waiting
    See Also:
    Serialized Form
    • Field Detail

      • MODULE$

        public static final DelayOverflowStrategy$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • DelayOverflowStrategy$

        public DelayOverflowStrategy$()
    • Method Detail

      • dropHead

        public DelayOverflowStrategy dropHead()
        If the buffer is full when a new element arrives, drops the oldest element from the buffer to make space for the new element.
        Returns:
        (undocumented)
      • dropTail

        public DelayOverflowStrategy dropTail()
        If the buffer is full when a new element arrives, drops the youngest element from the buffer to make space for the new element.
        Returns:
        (undocumented)
      • dropBuffer

        public DelayOverflowStrategy dropBuffer()
        If the buffer is full when a new element arrives, drops all the buffered elements to make space for the new element.
        Returns:
        (undocumented)
      • dropNew

        public DelayOverflowStrategy dropNew()
        If the buffer is full when a new element arrives, drops the new element.
        Returns:
        (undocumented)
      • backpressure

        public DelayOverflowStrategy backpressure()
        If the buffer is full when a new element is available this strategy backpressures the upstream publisher until space becomes available in the buffer.
        Returns:
        (undocumented)
      • fail

        public DelayOverflowStrategy fail()
        If the buffer is full when a new element is available this strategy completes the stream with failure.
        Returns:
        (undocumented)