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. Iffalse
, 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
- Alphabetic
- By Inheritance
- Update
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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. Iffalse
, 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).