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. It keeps no breaking change of the state compatible: every aggregate's state has readers besides the service, the clients of its state read at least, who read it as its schema says.

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