Click or drag to resize
Akka.NETRecovery Class
Recovery mode configuration object to be return in Recovery By default recovers from latest snapshot replays through to the last available event (last sequenceNr). Recovery will start from a snapshot if the persistent actor has previously saved one or more snapshots and at least one of these snapshots matches the specified FromSnapshot criteria. Otherwise, recovery will start from scratch by replaying all stored events. If recovery starts from a snapshot, the PersistentActor is offered that snapshot with a SnapshotOffer message, followed by replayed messages, if any, that are younger than the snapshot, up to the specified upper sequence number bound (ToSequenceNr).
Inheritance Hierarchy
SystemObject
  Akka.PersistenceRecovery

Namespace:  Akka.Persistence
Assembly:  Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
[SerializableAttribute]
public sealed class Recovery

The Recovery type exposes the following members.

Constructors
  NameDescription
Public methodRecovery
Initializes a new instance of the Recovery class.
Public methodRecovery(SnapshotSelectionCriteria)
Initializes a new instance of the Recovery class.
Public methodRecovery(SnapshotSelectionCriteria, Int64)
Initializes a new instance of the Recovery class.
Public methodRecovery(SnapshotSelectionCriteria, Int64, Int64)
Initializes a new instance of the Recovery class.
Top
Properties
  NameDescription
Public propertyStatic memberDefault
TBD
Public propertyFromSnapshot
Criteria for selecting a saved snapshot from which recovery should start. Default is latest (= youngest) snapshot.
Public propertyStatic memberNone
Convenience method for skipping recovery in PersistentActor.
Public propertyReplayMax
Maximum number of messages to replay. Default is no limit.
Public propertyToSequenceNr
Upper, inclusive sequence number bound for recovery. Default is no upper bound.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also