KEY - Key typeVALUE - Value typepublic static interface CacheMono.MonoCacheBuilderCacheMiss<KEY,VALUE>
| Modifier and Type | Method and Description |
|---|---|
default CacheMono.MonoCacheBuilderCacheWriter<KEY,VALUE> |
onCacheMissResume(Mono<VALUE> other)
Setup original source to fallback to in case of cache miss.
|
CacheMono.MonoCacheBuilderCacheWriter<KEY,VALUE> |
onCacheMissResume(java.util.function.Supplier<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 CacheMono.MonoCacheBuilderCacheWriter<KEY,VALUE> onCacheMissResume(Mono<VALUE> other)
other - original sourcenext step of the builderCacheMono.MonoCacheBuilderCacheWriter<KEY,VALUE> onCacheMissResume(java.util.function.Supplier<Mono<VALUE>> otherSupplier)
Supplier which allows lazy resolution of the source.