Header menu logo FCQRS

SnapshotPolicy Type

Snapshot cadence for an aggregate or saga, set per entity at registration.

Union cases

Union case Description

Default

Full Usage: Default

Use the global config (config:akka:persistence:snapshot-version-count), or 30.

Every int

Full Usage: Every int

Parameters:
    Item : int

Snapshot every N versions (N > 0; invalid values fall back to Default).

Item : int

NoSnapshots

Full Usage: NoSnapshots

Never snapshot: recovery always replays the full journal. Previously saved snapshots are still honored on recovery.

Instance members

Instance member Description

this.IsDefault

Full Usage: this.IsDefault

Returns: bool
Returns: bool

this.IsEvery

Full Usage: this.IsEvery

Returns: bool
Returns: bool

this.IsNoSnapshots

Full Usage: this.IsNoSnapshots

Returns: bool
Returns: bool

Type something to start searching.