SnapshotManifest

class SnapshotManifest @InternalWowApi constructor(val enabled: Boolean = true, val stateRevision: Int = 1)

Whether the aggregate keeps snapshots (enabled), and the revision of its state's structure the snapshots are written at (stateRevision): raised, the service rebuilds the stored snapshots in place, and the compatibility gate accepts a state schema change of an aggregate whose state no one else reads (no snapshot query, no published stream with the state).

Fields may be added: pass the constructor's arguments by name.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, stateRevision: Int = 1)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun SnapshotManifest.copyWith(enabled: Boolean = this.enabled, stateRevision: Int = this.stateRevision): SnapshotManifest
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String