VALUE
- typepublic static interface CacheFlux.FluxCacheBuilderMapMiss<VALUE>
Flux
that transparently looks up data from a Map
representation of
a cache and store data into the cache in case of cache miss.Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Flux<VALUE> |
onCacheMissResume(reactor.core.publisher.Flux<VALUE> other)
Setup original source to fallback to in case of cache miss.
|
reactor.core.publisher.Flux<VALUE> |
onCacheMissResume(Supplier<reactor.core.publisher.Flux<VALUE>> otherSupplier)
Setup original source to fallback to in case of cache miss, through a
Supplier which allows lazy resolution of the source. |
default reactor.core.publisher.Flux<VALUE> onCacheMissResume(reactor.core.publisher.Flux<VALUE> other)
other
- original sourceFlux
that transparently looks up data from a cache
and store data into the cache.reactor.core.publisher.Flux<VALUE> onCacheMissResume(Supplier<reactor.core.publisher.Flux<VALUE>> otherSupplier)
Supplier
which allows lazy resolution of the source.otherSupplier
- original source Supplier
Flux
that transparently looks up data from a cache
and store data into the cache.