Package-level declarations

Types

Link copied to clipboard
@ConditionalOnProperty(value = ["wow.elasticsearch.enabled"], matchIfMissing = true, havingValue = "true")
annotation class ConditionalOnElasticsearchEnabled
@AutoConfiguration(after = [ElasticsearchRestClientAutoConfiguration::class], before = [ElasticsearchClientAutoConfiguration::class])
@ConditionalOnClass(value = [ElasticsearchEventStore::class])
class ElasticsearchEventSourcingAutoConfiguration @Autowired constructor(elasticsearchProperties: ElasticsearchProperties, eventStoreBatchProperties: ElasticsearchEventStoreBatchProperties, snapshotStoreBatchProperties: ElasticsearchSnapshotStoreBatchProperties)
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.elasticsearch.event-store-batch")
class ElasticsearchEventStoreBatchProperties(@DefaultValue(value = ["false"]) val enabled: Boolean = false, @DefaultValue(value = ["128"]) val maxSize: Int = ElasticsearchEventStoreBatchOptions.DEFAULT_MAX_SIZE, @DefaultValue(value = ["1ms"]) val maxDelay: Duration = ElasticsearchEventStoreBatchOptions.DEFAULT_MAX_DELAY, @DefaultValue(value = ["4096"]) val maxPendingAppends: Int = ElasticsearchEventStoreBatchOptions.DEFAULT_MAX_PENDING_APPENDS, @DefaultValue(value = ["1"]) val laneCount: Int = ElasticsearchEventStoreBatchOptions.DEFAULT_LANE_COUNT)
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.elasticsearch")
class ElasticsearchProperties(@DefaultValue(value = ["true"]) val enabled: Boolean = true, @DefaultValue(value = ["true"]) var autoInitTemplate: Boolean = true) : EnabledCapable
@ConfigurationProperties(prefix = "wow.elasticsearch.snapshot-store-batch")
class ElasticsearchSnapshotStoreBatchProperties(@DefaultValue(value = ["false"]) val enabled: Boolean = false, @DefaultValue(value = ["128"]) val maxSize: Int = ElasticsearchSnapshotStoreBatchOptions.DEFAULT_MAX_SIZE, @DefaultValue(value = ["1ms"]) val maxDelay: Duration = ElasticsearchSnapshotStoreBatchOptions.DEFAULT_MAX_DELAY, @DefaultValue(value = ["4096"]) val maxPendingSaves: Int = ElasticsearchSnapshotStoreBatchOptions.DEFAULT_MAX_PENDING_SAVES, @DefaultValue(value = ["1"]) val laneCount: Int = ElasticsearchSnapshotStoreBatchOptions.DEFAULT_LANE_COUNT)
Link copied to clipboard
class OnElasticsearchStorageCondition : AnyNestedCondition

Properties

Link copied to clipboard
const val ENABLED_KEY: String