Package-level declarations

Types

Link copied to clipboard
@ConditionalOnProperty(value = ["wow.mongo.enabled"], matchIfMissing = true, havingValue = "true")
annotation class ConditionalOnMongoEnabled
Link copied to clipboard
@AutoConfiguration(after = [WowAutoConfiguration::class, MongoReactiveAutoConfiguration::class])
@ConditionalOnClass(value = [MongoEventStore::class])
class MongoEventSourcingAutoConfiguration @Autowired constructor(mongoProperties: MongoProperties, eventStoreBatchProperties: MongoEventStoreBatchProperties, snapshotStoreBatchProperties: MongoSnapshotStoreBatchProperties)
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.mongo.event-store-batch")
class MongoEventStoreBatchProperties(@DefaultValue(value = ["false"]) val enabled: Boolean = false, @DefaultValue(value = ["128"]) val maxSize: Int = MongoEventStoreBatchOptions.DEFAULT_MAX_SIZE, @DefaultValue(value = ["1ms"]) val maxDelay: Duration = MongoEventStoreBatchOptions.DEFAULT_MAX_DELAY, @DefaultValue(value = ["4096"]) val maxPendingAppends: Int = MongoEventStoreBatchOptions.DEFAULT_MAX_PENDING_APPENDS, @DefaultValue(value = ["1"]) val laneCount: Int = MongoEventStoreBatchOptions.DEFAULT_LANE_COUNT)
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.mongo")
class MongoProperties(@DefaultValue(value = ["true"]) val enabled: Boolean = true, @DefaultValue(value = ["true"]) var autoInitSchema: Boolean = true, val eventStreamDatabase: String?, val snapshotDatabase: String?, val prepareDatabase: String?) : EnabledCapable
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.mongo.snapshot-store-batch")
class MongoSnapshotStoreBatchProperties(@DefaultValue(value = ["false"]) val enabled: Boolean = false, @DefaultValue(value = ["128"]) val maxSize: Int = MongoSnapshotStoreBatchOptions.DEFAULT_MAX_SIZE, @DefaultValue(value = ["1ms"]) val maxDelay: Duration = MongoSnapshotStoreBatchOptions.DEFAULT_MAX_DELAY, @DefaultValue(value = ["4096"]) val maxPendingSaves: Int = MongoSnapshotStoreBatchOptions.DEFAULT_MAX_PENDING_SAVES, @DefaultValue(value = ["1"]) val laneCount: Int = MongoSnapshotStoreBatchOptions.DEFAULT_LANE_COUNT)

Properties

Link copied to clipboard
const val ENABLED_KEY: String