File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/org/dataloader Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222import java .util .concurrent .CompletableFuture ;
2323
2424/**
25- * CacheMap is used by data loaders that use caching promises to values aka {@link CompletableFuture}<V> . A better name for this
25+ * CacheMap is used by data loaders that use caching promises to values aka {@link CompletableFuture}<V> . A better name for this
2626 * class might have been FutureCache but that is history now.
2727 * <p>
2828 * The default implementation used by the data loader is based on a {@link java.util.LinkedHashMap}.
2929 * <p>
30- * This is really a cache of completed {@link CompletableFuture}<V> values in memory. It is used, when caching is enabled, to
30+ * This is really a cache of completed {@link CompletableFuture}<V> values in memory. It is used, when caching is enabled, to
3131 * give back the same future to any code that may call it. If you need a cache of the underlying values that is possible external to the JVM
3232 * then you will want to use {{@link ValueCache}} which is designed for external cache access.
3333 *
Original file line number Diff line number Diff line change 99 * The {@link ValueCache} is used by data loaders that use caching and want a long-lived or external cache
1010 * of values. The {@link ValueCache} is used as a place to cache values when they come back from
1111 * <p>
12- * It differs from {@link CacheMap} which is in fact a cache of promises to values aka {@link CompletableFuture}<V> and it rather suited
12+ * It differs from {@link CacheMap} which is in fact a cache of promises to values aka {@link CompletableFuture}<V> and it rather suited
1313 * to be a wrapper of a long lived or external value cache. {@link CompletableFuture}s cant be easily placed in an external cache
1414 * outside the JVM say, hence the need for the {@link ValueCache}.
1515 * <p>
You can’t perform that action at this time.
0 commit comments