Interface Cache<ID,RRC>
- All Known Subinterfaces:
ConcurrentCache<ID,RRC>
public interface Cache<ID,RRC>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic <ID,RRC> Cache <ID, RRC> adapterCache(Function<Iterable<ID>, reactor.core.publisher.Mono<Map<ID, RRC>>> getAll, BiFunction<Iterable<ID>, Cache.FetchFunction<ID, RRC>, reactor.core.publisher.Mono<Map<ID, RRC>>> computeAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> removeAll) static <ID,RRC> Cache <ID, RRC> adapterCache(Function<Iterable<ID>, reactor.core.publisher.Mono<Map<ID, RRC>>> getAll, BiFunction<Iterable<ID>, Cache.FetchFunction<ID, RRC>, reactor.core.publisher.Mono<Map<ID, RRC>>> computeAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> removeAll, BiFunction<Map<ID, RRC>, Map<ID, RRC>, reactor.core.publisher.Mono<?>> updateAll) computeAll(Iterable<ID> ids, Cache.FetchFunction<ID, RRC> fetchFunction) static <ID,EID, R, RC extends Collection<R>>
Cache<ID, RC> oneToManyCache(CacheContext.OneToManyCacheContext<ID, EID, R, RC> ctx, Cache<ID, RC> delegateCache) static <ID,R> Cache <ID, R> oneToOneCache(Cache<ID, R> delegateCache) static <ID,RRC> Cache <ID, RRC> optimizedCache(Cache<ID, RRC> delegateCache) reactor.core.publisher.Mono<?> reactor.core.publisher.Mono<?> default reactor.core.publisher.Mono<?>
-
Method Details
-
getAll
-
computeAll
-
putAll
-
removeAll
-
updateAll
-
adapterCache
static <ID,RRC> Cache<ID,RRC> adapterCache(Function<Iterable<ID>, reactor.core.publisher.Mono<Map<ID, RRC>>> getAll, BiFunction<Iterable<ID>, Cache.FetchFunction<ID, RRC>, reactor.core.publisher.Mono<Map<ID, RRC>>> computeAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> removeAll) -
adapterCache
static <ID,RRC> Cache<ID,RRC> adapterCache(Function<Iterable<ID>, reactor.core.publisher.Mono<Map<ID, RRC>>> getAll, BiFunction<Iterable<ID>, Cache.FetchFunction<ID, RRC>, reactor.core.publisher.Mono<Map<ID, RRC>>> computeAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> putAll, Function<Map<ID, RRC>, reactor.core.publisher.Mono<?>> removeAll, BiFunction<Map<ID, RRC>, Map<ID, RRC>, reactor.core.publisher.Mono<?>> updateAll) -
optimizedCache
-
oneToOneCache
-
oneToManyCache
static <ID,EID, Cache<ID,R, RC extends Collection<R>> RC> oneToManyCache(CacheContext.OneToManyCacheContext<ID, EID, R, RC> ctx, Cache<ID, RC> delegateCache)
-