ElasticsearchSnapshotRepository

class ElasticsearchSnapshotRepository(elasticsearchClient: ReactiveElasticsearchClient, refreshPolicy: Refresh = Refresh.True) : SnapshotRepository

Constructors

Link copied to clipboard
constructor(elasticsearchClient: ReactiveElasticsearchClient, refreshPolicy: Refresh = Refresh.True)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun getVersion(aggregateId: AggregateId): Mono<Int>
Link copied to clipboard
open override fun <S : Any> load(aggregateId: AggregateId): Mono<Snapshot<S>>
Link copied to clipboard
open override fun <S : Any> save(snapshot: Snapshot<S>): Mono<Void>
Link copied to clipboard
open override fun scanAggregateId(namedAggregate: NamedAggregate, afterId: String, limit: Int): Flux<AggregateId>