DelaySnapshotStore

class DelaySnapshotStore(delaySupplier: () -> Duration = { Duration.ofMillis(5) }, val delegate: SnapshotStore = InMemorySnapshotStore()) : SnapshotStore, Decorator<SnapshotStore>

Constructors

Link copied to clipboard
constructor(delaySupplier: () -> Duration = { Duration.ofMillis(5) }, delegate: SnapshotStore = InMemorySnapshotStore())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val delegate: SnapshotStore
Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open fun getVersion(aggregateId: AggregateId): Mono<Int>
Link copied to clipboard
open override fun <S : Any> load(aggregateId: AggregateId): Mono<Snapshot<S>>
Link copied to clipboard
open override fun <S : Any> save(snapshot: Snapshot<S>): Mono<Void>