Class Update
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.
Namespace: Akka.Persistence
Assembly: Akka.Persistence.dll
Syntax
public sealed class Update : object
Constructors
| Improve this Doc View SourceUpdate()
TBD
Declaration
public Update()
Update(Boolean)
TBD
Declaration
public Update(bool isAwait)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isAwait | TBD |
Update(Boolean, Int64)
TBD
Declaration
public Update(bool isAwait, long replayMax)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isAwait | TBD |
Int64 | replayMax | TBD |
Properties
| Improve this Doc View SourceIsAwait
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 Akka.Persistence.Persistent message stream.
Declaration
public bool IsAwait { get; }
Property Value
Type | Description |
---|---|
Boolean |
ReplayMax
Maximum number of messages to replay when handling this update request. Defaults to
Declaration
public long ReplayMax { get; }
Property Value
Type | Description |
---|---|
Int64 |