Package-level declarations

Types

Link copied to clipboard
class MongoTimerStore(client: MongoClient, databaseName: String, context: String, partitions: Int, dispatcher: CoroutineDispatcher = VirtualThreads.dispatcher, ddl: Ddl = Ddl.AUTO, sharding: MongoSharding = MongoSharding.AUTO, operationTimeout: Duration = MongoTimeouts.OPERATION) : TimerStore

The TimerStore of one bounded context on MongoDB: a collection per aggregate type, wow_timer__<context>__<aggregate>, named by the rule of the log's collections, created on the type's first use and recorded in the registry wow_timer_aggregate. One document per timer, keyed by a unique index on its partition, its owner's tenant and id (owner: {tenant_id, id}, its context and aggregate the collection's) and key.