MongoEventStore

class MongoEventStore(database: MongoDatabase, val batchOptions: BatchOptions? = null, metrics: WowMetrics = WowMetrics.NONE) : AbstractEventStore, Closeable

Constructors

Link copied to clipboard
constructor(database: MongoDatabase, batchOptions: BatchOptions? = null, metrics: WowMetrics = WowMetrics.NONE)

Properties

Link copied to clipboard
Link copied to clipboard

The batch writer of this store's event streams, flushed by the runtime after its dispatchers stop (me.ahoo.wow.runtime.RuntimeResources); RuntimeResource.NONE when the store writes directly.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun existsRequestId(aggregateId: AggregateId, requestId: String): Mono<Boolean>
Link copied to clipboard
open override fun last(aggregateId: AggregateId): Mono<DomainEventStream>
Link copied to clipboard
open override fun scanAggregateId(namedAggregate: NamedAggregate, afterId: String, limit: Int): Flux<AggregateId>