final case class Update(await: Boolean = false, replayMax: Long = Long.MaxValue) extends Product with Serializable

Instructs a PersistentView to update itself. This will run a single incremental message replay with all messages from the corresponding persistent id's journal that have not yet been consumed by the view. To update a view with messages that have been written after handling this request, another Update request must be sent to the view.

await

if true, processing of further messages sent to the view will be delayed until the incremental message replay, triggered by this update request, completes. If false, any message sent to the view may interleave with replayed persistent event stream.

replayMax

maximum number of messages to replay when handling this update request. Defaults to Long.MaxValue (i.e. no limit).

Annotations
@SerialVersionUID()
Source
PersistentView.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Update
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Update(await: Boolean = false, replayMax: Long = Long.MaxValue)

    await

    if true, processing of further messages sent to the view will be delayed until the incremental message replay, triggered by this update request, completes. If false, any message sent to the view may interleave with replayed persistent event stream.

    replayMax

    maximum number of messages to replay when handling this update request. Defaults to Long.MaxValue (i.e. no limit).

Value Members

  1. val await: Boolean
  2. val replayMax: Long