VALUE
- typepublic static interface CacheMono.MonoCacheBuilderMapMiss<VALUE>
Mono
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.Mono<VALUE> |
onCacheMissResume(reactor.core.publisher.Mono<VALUE> other)
Setup original source to fallback to in case of cache miss.
|
reactor.core.publisher.Mono<VALUE> |
onCacheMissResume(Supplier<reactor.core.publisher.Mono<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.Mono<VALUE> onCacheMissResume(reactor.core.publisher.Mono<VALUE> other)
other
- original sourceMono
that transparently looks up data from a cache
and store data into the cache.reactor.core.publisher.Mono<VALUE> onCacheMissResume(Supplier<reactor.core.publisher.Mono<VALUE>> otherSupplier)
Supplier
which allows lazy resolution of the source.otherSupplier
- original source Supplier
Mono
that transparently looks up data from a cache
and store data into the cache.