MongoSnapshotRepository

class MongoSnapshotRepository(database: MongoDatabase) : SnapshotRepository

Constructors

Link copied to clipboard
constructor(database: MongoDatabase)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override 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>
Link copied to clipboard
open override fun scanAggregateId(namedAggregate: NamedAggregate, afterId: String, limit: Int): Flux<AggregateId>