Interface Cache<ID,R>
- All Known Subinterfaces:
ConcurrentCache<ID,
R>
public interface Cache<ID,R>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <ID,
R> Cache<ID, R> adapterCache
(BiFunction<Iterable<ID>, Boolean, reactor.core.publisher.Mono<Map<ID, List<R>>>> getAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> removeAll) static <ID,
R> Cache<ID, R> adapterCache
(BiFunction<Iterable<ID>, Boolean, reactor.core.publisher.Mono<Map<ID, List<R>>>> getAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> removeAll, BiFunction<Map<ID, List<R>>, Map<ID, List<R>>, reactor.core.publisher.Mono<?>> updateAll) static <ID,
EID, R> Cache<ID, R> mergeStrategyAwareCache
(Function<R, EID> idExtractor, Cache<ID, R> delegateCache) reactor.core.publisher.Mono<?>
reactor.core.publisher.Mono<?>
default reactor.core.publisher.Mono<?>
-
Method Details
-
adapterCache
-
adapterCache
static <ID,R> Cache<ID,R> adapterCache(BiFunction<Iterable<ID>, Boolean, reactor.core.publisher.Mono<Map<ID, List<R>>>> getAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, List<R>>, reactor.core.publisher.Mono<?>> removeAll, BiFunction<Map<ID, List<R>>, Map<ID, List<R>>, reactor.core.publisher.Mono<?>> updateAll) -
mergeStrategyAwareCache
-
getAll
-
putAll
-
removeAll
-
updateAll
-