Interface Cache<ID,R>
- Type Parameters:
ID- Correlation ID typeR- Entity type
public interface Cache<ID,R>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <ID,R> Cache<ID, R> cache()static <ID,R> Cache<ID, R> static <ID,R> Cache<ID, R> static <ID,IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,IDC, R, RRC> static <ID,IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,IDC, R, RRC> static <ID,IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,IDC, R, RRC> cached(Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Function<Iterable<ID>, Map<ID, List<R>>> getAllPresent, Consumer<Map<ID, List<R>>> putAll) static <ID,IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,IDC, R, RRC> cached(Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Supplier<Map<ID, List<R>>> mapFactory) static <ID,IDC extends Collection<ID>, R, RRC>
RuleMapperSource<ID,IDC, R, RRC> getAllPresent(Iterable<ID> ids) void
-
Method Details
-
getAllPresent
-
putAll
-
cache
-
cache
-
cache
-
cached
static <ID,IDC extends Collection<ID>, RuleMapperSource<ID,R, RRC> IDC, cachedR, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction) -
cached
static <ID,IDC extends Collection<ID>, RuleMapperSource<ID,R, RRC> IDC, cachedR, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Supplier<Map<ID, List<R>>> mapFactory) -
cached
static <ID,IDC extends Collection<ID>, RuleMapperSource<ID,R, RRC> IDC, cachedR, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Map<ID, List<R>> map) -
cached
static <ID,IDC extends Collection<ID>, RuleMapperSource<ID,R, RRC> IDC, cachedR, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Cache<ID, R> cache) -
cached
static <ID,IDC extends Collection<ID>, RuleMapperSource<ID,R, RRC> IDC, cachedR, RRC> (Function<IDC, org.reactivestreams.Publisher<R>> queryFunction, Function<Iterable<ID>, Map<ID, List<R>>> getAllPresent, Consumer<Map<ID, List<R>>> putAll)
-