Package-level declarations
Types
Link copied to clipboard
object AggregateSchemaInitializer
Link copied to clipboard
class EventStreamSchemaInitializer(database: MongoDatabase, enableRequestIdUniqueIndex: Boolean = false)
Link copied to clipboard
Enforces the default deployment invariant that one MongoDB database belongs to one bounded context.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class MongoEventStoreBatchOptions(val enabled: Boolean = false, val maxSize: Int = DEFAULT_MAX_SIZE, val maxDelay: Duration = DEFAULT_MAX_DELAY, val maxPendingAppends: Int = DEFAULT_MAX_PENDING_APPENDS, val laneCount: Int = DEFAULT_LANE_COUNT)
Controls transparent batching for MongoEventStore appends.
Link copied to clipboard
class MongoEventStoreBatchOverflowException(val maxPendingAppends: Int) : IllegalStateException, RecoverableException
Link copied to clipboard
Registers MongoDB transient/recoverable error codes as RecoverableType.RECOVERABLE, enabling the framework's retry mechanism to automatically handle these errors.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class MongoSnapshotStoreBatchOptions(val enabled: Boolean = false, val maxSize: Int = DEFAULT_MAX_SIZE, val maxDelay: Duration = DEFAULT_MAX_DELAY, val maxPendingSaves: Int = DEFAULT_MAX_PENDING_SAVES, val laneCount: Int = DEFAULT_LANE_COUNT)
Controls transparent batching for MongoSnapshotStore saves.
Link copied to clipboard
class MongoSnapshotStoreBatchOverflowException(val maxPendingSaves: Int) : IllegalStateException, RecoverableException
Link copied to clipboard
class RecoverableMongoBulkWriteException(val error: WriteError, bulkWriteException: MongoBulkWriteException) : MongoException, RecoverableException
Link copied to clipboard
class RecoverableMongoWriteException(writeException: MongoWriteException) : MongoException, RecoverableException
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <S : Any> Flux<Document>.toMaterializedSnapshot(snapshotType: JavaType): Flux<MaterializedSnapshot<S>>
fun <S : Any> Mono<Document>.toMaterializedSnapshot(snapshotType: JavaType): Mono<MaterializedSnapshot<S>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard