 | Recovery Constructor (SnapshotSelectionCriteria, Int64, Int64) |
Initializes a new instance of the
Recovery class.
Namespace:
Akka.Persistence
Assembly:
Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic Recovery(
SnapshotSelectionCriteria fromSnapshot = null,
long toSequenceNr = 9223372036854775807,
long replayMax = 9223372036854775807
)
new :
?fromSnapshot : SnapshotSelectionCriteria *
?toSequenceNr : int64 *
?replayMax : int64
(* Defaults:
let _fromSnapshot = defaultArg fromSnapshot null
let _toSequenceNr = defaultArg toSequenceNr 9223372036854775807
let _replayMax = defaultArg replayMax 9223372036854775807
*)
-> Recovery
Parameters
- fromSnapshot (Optional)
- Type: Akka.PersistenceSnapshotSelectionCriteria
Criteria for selecting a saved snapshot from which recovery should start. Default is latest(= youngest) snapshot. - toSequenceNr (Optional)
- Type: SystemInt64
Upper, inclusive sequence number bound for recovery. Default is no upper bound. - replayMax (Optional)
- Type: SystemInt64
Maximum number of messages to replay. Default is no limit.
See Also