Uses of Interface
org.dataloader.CacheMap
Packages that use CacheMap
-
Uses of CacheMap in org.dataloader
Fields in org.dataloader declared as CacheMapModifier and TypeFieldDescriptionprivate CacheMap
<?, ?> DataLoaderOptions.cacheMap
DataLoader.futureCache
DataLoaderHelper.futureCache
Methods in org.dataloader that return CacheMapModifier and TypeMethodDescriptionCacheMap.clear()
Clears all entries of the cache mapDeletes the entry with the specified key from the cache map, if it exists.DataLoader.determineFutureCache
(DataLoaderOptions loaderOptions) DataLoader.getCacheMap()
Gets the cacheMap associated with this data loader passed in viaDataLoaderOptions.cacheMap()
CacheMap.set
(K key, CompletableFuture<V> value) Creates a new cache map entry with the specified key and value, or updates the value if the key already exists.static <K,
V> CacheMap <K, V> CacheMap.simpleMap()
Creates a new cache map, using the default implementation that is based on aLinkedHashMap
.Methods in org.dataloader that return types with arguments of type CacheMapModifier and TypeMethodDescriptionDataLoaderOptions.cacheMap()
Gets the (optional) cache map implementation that is used for caching, if caching is enabled.Methods in org.dataloader with parameters of type CacheMapModifier and TypeMethodDescriptionDataLoaderOptions.setCacheMap
(CacheMap<?, ?> cacheMap) Sets the cache map implementation to use for caching, if caching is enabled.Constructors in org.dataloader with parameters of type CacheMapModifierConstructorDescription(package private)
DataLoaderHelper
(DataLoader<K, V> dataLoader, Object batchLoadFunction, DataLoaderOptions loaderOptions, CacheMap<Object, V> futureCache, ValueCache<K, V> valueCache, StatisticsCollector stats, Clock clock) -
Uses of CacheMap in org.dataloader.impl
Classes in org.dataloader.impl that implement CacheMapMethods in org.dataloader.impl that return CacheMapModifier and TypeMethodDescriptionDefaultCacheMap.clear()
Clears all entries of the cache mapDeletes the entry with the specified key from the cache map, if it exists.DefaultCacheMap.set
(K key, CompletableFuture<V> value) Creates a new cache map entry with the specified key and value, or updates the value if the key already exists.