Packages

case class ReplayLimited[A](capacity: Int, initial: Seq[A]) extends MulticastStrategy[A] with Product with Serializable

The ReplayLimited strategy is for building multicast observables that repeat the generated items by the source, but limited by the maximum size of the underlying buffer.

When maximum size is reached, the underlying buffer starts dropping older events. Note that the size of the resulting buffer is not necessarily the given capacity, as the implementation may choose to increase it for optimisation purposes.

Corresponds to Pipe.replayLimited.

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

Instance Constructors

  1. new ReplayLimited(capacity: Int, initial: Seq[A])

Value Members

  1. val capacity: Int
  2. val initial: Seq[A]