Packages

final case class FixedWindow(bufferSize: Int) extends ReactivePullStrategy with Product with Serializable

This strategy pre-allocates a buffer of the given size and waits for it to fill up before emitting it downstream.

Additional events are requested only after the buffer is emitted.

This strategy is more efficient than StopAndWait, but less fair. For example if you have a producer that emits a tick every second, with a bufferSize of 10 the consumer will only see events every 10 seconds. Therefore it should be used with a busy source, but for slow producers StopAndWait is a better strategy.

Source
ReactivePullStrategy.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedWindow
  2. ReactivePullStrategy
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FixedWindow(bufferSize: Int)

Value Members

  1. val bufferSize: Int
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product