public abstract class PersistentView : ActorBase, ISnapshotter, IPersistentIdentity, IWithUnboundedStash, IActorStash, IRequiresMessageQueue<IUnboundedDequeBasedMessageQueueSemantics>, IPersistenceRecovery
[<AbstractClassAttribute>] type PersistentView = class inherit ActorBase interface ISnapshotter interface IPersistentIdentity interface IWithUnboundedStash interface IActorStash interface IRequiresMessageQueue<IUnboundedDequeBasedMessageQueueSemantics> interface IPersistenceRecovery end
Thetype exposes the following members.
Time interval to automatic updates. Used only when IsAutoUpdate value is true.
The maximum number of messages to replay per update.
If true, the currently processed message was persisted - it sent from the Journal. If false, the currently processed message comes from another actor ('/user/*' path).
Returns true if this persistent view is currently recovering.
Returns true if this persistent view has successfully finished recovery.
Highest received sequence number so far or 0 it none persistent event has been replayed yet.
Id of the persistent entity for which messages should be replayed.
Gets the self ActorRef(Inherited from ActorBase.)
Gets the sending ActorRef of the current message(Inherited from ActorBase.)
Gets last sequence number.
Gets the ViewId.
Can be overridden to intercept calls to `PostRestart`. Calls `PostRestart` by default.(Inherited from ActorBase.)
Can be overridden to intercept calls to `PostStop`. Calls `PostStop` by default..(Inherited from ActorBase.)
Can be overridden to intercept calls to `PreRestart`. Calls `PreRestart` by default.(Inherited from ActorBase.)
TBD(Overrides ActorBaseAroundReceive(Receive, Object).)
Changes the actor's command behavior and replaces the current receive handler with the specified handler.(Inherited from ActorBase.)
Changes the actor's behavior and replaces the current receive handler with the specified handler. The current handler is stored on a stack, and you can revert to it by calling UnbecomeStacked(Inherited from ActorBase.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Called whenever a message replay fails. By default it logs the error. Subclass may override to customize logging. Thewill not stop or throw exception due to this. It will try again on next update.
User overridable callback: By default it calls `PreStart()`. Is called right AFTER restart on the newly created Actor to allow reinitialization after an Actor crash.(Inherited from ActorBase.)
TBD(Overrides ActorBasePreRestart(Exception, Object).)
Processor for user defined messages.(Inherited from ActorBase.)
(Inherited from ActorBase.)
Please note that the receive timeout might fire and enqueue the ReceiveTimeout message right after another message was enqueued; hence it is not guaranteed that upon reception of the receive timeout there must have been an idle period beforehand as configured via this method.
Once set, the receive timeout stays in effect (i.e. continues firing repeatedly after inactivity periods). Pass in null to switch off this feature.
TBD(Inherited from ActorBase.)
Returns a string that represents the current object.(Inherited from Object.)
Reverts the Actor behavior to the previous one on the behavior stack.(Inherited from ActorBase.)
TBD(Defined by Extensions.)
Matches the specified target.(Defined by PatternMatch.)
Matches the specified target and return a result of target processing.(Defined by PatternMatch.)