Class ThrowOverflowExceptionStrategy
Throw StashOverflowException, hence the persistent actor will start recovery if guarded by default supervisor strategy. Be careful if used together with Persist<TEvent>(TEvent, Action<TEvent>) or PersistAll<TEvent>(IEnumerable<TEvent>, Action<TEvent>) or has many messages needed to replay.
Implements
Inherited Members
Namespace: Akka.Persistence
Assembly: Akka.Persistence.dll
Syntax
public class ThrowOverflowExceptionStrategy : IStashOverflowStrategy
Properties
| Improve this Doc View SourceInstance
The singleton instance of ThrowOverflowExceptionStrategy.
Declaration
public static ThrowOverflowExceptionStrategy Instance { get; }
Property Value
Type | Description |
---|---|
ThrowOverflowExceptionStrategy |