FunPersistentViewEvent, State Methods |
The FSharpFunPersistentViewEvent, State generic type exposes the following members.
Name | Description | |
---|---|---|
AroundPostRestart |
Can be overridden to intercept calls to `PostRestart`. Calls `PostRestart` by default.
(Inherited from ActorBase.) | |
AroundPostStop |
Can be overridden to intercept calls to `PostStop`. Calls `PostStop` by default..
(Inherited from ActorBase.) | |
AroundPreRestart |
Can be overridden to intercept calls to `PreRestart`. Calls `PreRestart` by default.
(Inherited from ActorBase.) | |
AroundPreStart |
TBD
(Inherited from PersistentView.) | |
AroundReceive |
TBD
(Inherited from PersistentView.) | |
Become |
Changes the actor's command behavior and replaces the current receive handler with the specified handler.
(Inherited from ActorBase.) | |
BecomeStacked |
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.)Remarks Please note, that in order to not leak memory, make sure every call to BecomeStacked(Receive)
is matched with a call to UnbecomeStacked. | |
DeleteSnapshot |
Deletes the snapshot identified by sequenceNr.
The PersistentActor will be notified about the status of the deletion
via an DeleteSnapshotSuccess or DeleteSnapshotFailure message.
(Inherited from PersistentView.) | |
DeleteSnapshots |
Deletes all snapshots matching criteria.
The PersistentActor will be notified about the status of the deletion
via an DeleteSnapshotsSuccess or DeleteSnapshotsFailure message.
(Inherited from PersistentView.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadSnapshot |
Instructs the snapshot store to load the specified snapshot and send it via an
SnapshotOffer to the running PersistentActor.
(Inherited from PersistentView.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnReplayError |
Called whenever a message replay fails. By default it logs the error.
Subclass may override to customize logging.
The PersistentView will not stop or throw exception due to this.
It will try again on next update.
(Inherited from PersistentView.) | |
PostRestart |
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.) | |
PostStop | (Overrides PersistentViewPostStop.) | |
PreRestart |
TBD
(Inherited from PersistentView.) | |
PreStart |
TBD
(Inherited from PersistentView.) | |
Receive | (Overrides ActorBaseReceive(Object).) | |
SaveSnapshot |
Saves snapshot of current ISnapshotter state.
The PersistentActor will be notified about the success or failure of this
via an SaveSnapshotSuccess or SaveSnapshotFailure message.
(Inherited from PersistentView.) | |
Sender | ||
SetReceiveTimeout | Defines the inactivity timeout after which the sending of a ReceiveTimeout message is triggered. When specified, the receive function should be able to handle a ReceiveTimeout message. 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. | |
SupervisorStrategy |
TBD
(Inherited from ActorBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnbecomeStacked |
Reverts the Actor behavior to the previous one on the behavior stack.
(Inherited from ActorBase.) | |
Unhandled |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |