QueryServiceCacheSource

open class QueryServiceCacheSource<S : Any, D : Any>(queryService: SnapshotQueryService<S>, val stateToCacheDataConverter: StateToCacheDataConverter<MaterializedSnapshot<S>, D>, val loadCacheSourceConfiguration: LoadCacheSourceConfiguration = LoadCacheSourceConfiguration.DEFAULT) : StateCacheSource<String, MaterializedSnapshot<S>, D>

Constructors

Link copied to clipboard
constructor(queryService: SnapshotQueryService<S>, stateToCacheDataConverter: StateToCacheDataConverter<MaterializedSnapshot<S>, D>, loadCacheSourceConfiguration: LoadCacheSourceConfiguration = LoadCacheSourceConfiguration.DEFAULT)

Functions

Link copied to clipboard
open override fun loadCacheValue(key: String): CacheValue<D>?
Link copied to clipboard
open override fun loadState(key: String): Mono<MaterializedSnapshot<S>>