File tree 2 files changed +3
-3
lines changed
src/main/java/org/dataloader 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
import java .util .concurrent .CompletableFuture ;
23
23
24
24
/**
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
26
26
* class might have been FutureCache but that is history now.
27
27
* <p>
28
28
* The default implementation used by the data loader is based on a {@link java.util.LinkedHashMap}.
29
29
* <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
31
31
* 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
32
32
* then you will want to use {{@link ValueCache}} which is designed for external cache access.
33
33
*
Original file line number Diff line number Diff line change 9
9
* The {@link ValueCache} is used by data loaders that use caching and want a long-lived or external cache
10
10
* of values. The {@link ValueCache} is used as a place to cache values when they come back from
11
11
* <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
13
13
* to be a wrapper of a long lived or external value cache. {@link CompletableFuture}s cant be easily placed in an external cache
14
14
* outside the JVM say, hence the need for the {@link ValueCache}.
15
15
* <p>
You can’t perform that action at this time.
0 commit comments