| EventsourcedOnPersistFailure Method |
Called when persist fails. By default it logs the error.
Subclass may override to customize logging and for example send negative
acknowledgment to sender.
The actor is always stopped after this method has been invoked.
Note that the event may or may not have been saved, depending on the type of
failure.
Namespace:
Akka.Persistence
Assembly:
Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax protected virtual void OnPersistFailure(
Exception cause,
Object event,
long sequenceNr
)
abstract OnPersistFailure :
cause : Exception *
event : Object *
sequenceNr : int64 -> unit
override OnPersistFailure :
cause : Exception *
event : Object *
sequenceNr : int64 -> unit
Parameters
- cause
- Type: SystemException
TBD - event
- Type: SystemObject
TBD - sequenceNr
- Type: SystemInt64
TBD
See Also