object Recovery

Strategy for recovery of snapshots and events.

Source
Recovery.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Recovery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val disabled: Recovery

    Neither snapshots nor events are recovered

  2. val enabled: Recovery

    Snapshots and events are recovered

  3. val replayOnlyLast: Recovery

    Don't load snapshot and replay only last event.

  4. def withSnapshotSelectionCriteria(snapshotSelectionCriteria: SnapshotSelectionCriteria): RecoveryWithSnapshotSelectionCriteria

    Changes the snapshot selection criteria used for the recovery.

    Changes the snapshot selection criteria used for the recovery.

    By default the most recent snapshot is used, and the remaining state updates are recovered by replaying events from the sequence number up until which the snapshot reached.

    You may configure the behavior to skip replaying snapshots completely, in which case the recovery will be performed by replaying all events -- which may take a long time.

Deprecated Value Members

  1. val default: Recovery

    Snapshots and events are recovered

    Snapshots and events are recovered

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.1) Use Recovery.enabled, since default is a reserved word in Java