SnapshotProperties

@ConfigurationProperties(prefix = "wow.eventsourcing.snapshot")
data class SnapshotProperties(var enabled: Boolean = true, var strategy: Strategy = Strategy.ALL, var versionOffset: Int = DEFAULT_VERSION_OFFSET, var storage: StorageType = StorageType.MONGO, var binding: String? = null) : EnabledCapable

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, strategy: Strategy = Strategy.ALL, versionOffset: Int = DEFAULT_VERSION_OFFSET, storage: StorageType = StorageType.MONGO, binding: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An application-registered SnapshotStoreBinding (and the QueryBackendProvider of the same name for snapshot queries) used as the default instead of the built-in storage; the two exclude each other.

Link copied to clipboard

The built-in storage the default uses, or null when the default is a binding.

Link copied to clipboard
open override var enabled: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard