Packages

object MulticastStrategy extends Serializable

The MulticastStrategy enumerated.

Source
MulticastStrategy.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MulticastStrategy
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Behavior[A](initial: A) extends MulticastStrategy[A] with Product with Serializable

    The Behavior strategy is for building multicast observables that emit the most recently emitted item by the source before the source starts being mirrored.

    The Behavior strategy is for building multicast observables that emit the most recently emitted item by the source before the source starts being mirrored.

    Corresponds to Pipe.behavior.

  2. case class Replay[A](initial: Seq[A]) extends MulticastStrategy[A] with Product with Serializable

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    Corresponds to Pipe.replay.

  3. 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.

    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.

Value Members

  1. def async[A]: MulticastStrategy[A]

    The Async strategy is for building multicast observables that emit the last value (and only the last value) of the source and only after the source completes.

    The Async strategy is for building multicast observables that emit the last value (and only the last value) of the source and only after the source completes.

    Corresponds to Pipe.async.

  2. def behavior[A](initial: A): MulticastStrategy[A]

    The Behavior strategy is for building multicast observables that emit the most recently emitted item by the source before the source starts being mirrored.

    The Behavior strategy is for building multicast observables that emit the most recently emitted item by the source before the source starts being mirrored.

    Corresponds to Pipe.behavior.

  3. def publish[A]: MulticastStrategy[A]

    The Publish strategy is for emitting to a subscriber only those items that are emitted by the source subsequent to the time of the subscription.

    The Publish strategy is for emitting to a subscriber only those items that are emitted by the source subsequent to the time of the subscription.

    Corresponds to Pipe.publish.

  4. def replay[A](initial: Seq[A]): MulticastStrategy[A]

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    Corresponds to Pipe.replay.

  5. def replay[A]: MulticastStrategy[A]

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    The Replay strategy is for building multicast observables that repeat all the generated items by the source, regardless of when the source is subscribed.

    Corresponds to Pipe.replay.

  6. def replayLimited[A](capacity: Int, initial: Seq[A]): MulticastStrategy[A]

    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.

    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.

  7. def replayLimited[A](capacity: Int): MulticastStrategy[A]

    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.

    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.

  8. object Async extends MulticastStrategy[Nothing] with Product with Serializable

    The Async strategy is for building multicast observables that emit the last value (and only the last value) of the source and only after the source completes.

    The Async strategy is for building multicast observables that emit the last value (and only the last value) of the source and only after the source completes.

    Corresponds to Pipe.async.

  9. object Publish extends MulticastStrategy[Nothing] with Product with Serializable

    The Publish strategy is for emitting to a subscriber only those items that are emitted by the source subsequent to the time of the subscription.

    The Publish strategy is for emitting to a subscriber only those items that are emitted by the source subsequent to the time of the subscription.

    Corresponds to Pipe.publish.