Uses of Interface
org.dataloader.CacheMap
-
Packages that use CacheMap Package Description org.dataloader org.dataloader.impl -
-
Uses of CacheMap in org.dataloader
Fields in org.dataloader declared as CacheMap Modifier and Type Field Description private CacheMap<?,?>DataLoaderOptions. cacheMapprivate CacheMap<java.lang.Object,V>DataLoader. futureCacheprivate CacheMap<java.lang.Object,V>DataLoaderHelper. futureCacheMethods in org.dataloader that return CacheMap Modifier and Type Method Description CacheMap<K,V>CacheMap. clear()Clears all entries of the cache mapCacheMap<K,V>CacheMap. delete(K key)Deletes the entry with the specified key from the cache map, if it exists.private CacheMap<java.lang.Object,V>DataLoader. determineFutureCache(DataLoaderOptions loaderOptions)CacheMap<java.lang.Object,V>DataLoader. getCacheMap()Gets the cacheMap associated with this data loader passed in viaDataLoaderOptions.cacheMap()CacheMap<K,V>CacheMap. set(K key, java.util.concurrent.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 CacheMap Modifier and Type Method Description java.util.Optional<CacheMap<?,?>>DataLoaderOptions. cacheMap()Gets the (optional) cache map implementation that is used for caching, if caching is enabled.Methods in org.dataloader with parameters of type CacheMap Modifier and Type Method Description DataLoaderOptionsDataLoaderOptions. setCacheMap(CacheMap<?,?> cacheMap)Sets the cache map implementation to use for caching, if caching is enabled.Constructors in org.dataloader with parameters of type CacheMap Constructor Description DataLoaderHelper(DataLoader<K,V> dataLoader, java.lang.Object batchLoadFunction, DataLoaderOptions loaderOptions, CacheMap<java.lang.Object,V> futureCache, ValueCache<K,V> valueCache, StatisticsCollector stats, java.time.Clock clock) -
Uses of CacheMap in org.dataloader.impl
Classes in org.dataloader.impl that implement CacheMap Modifier and Type Class Description classDefaultCacheMap<K,V>Default implementation ofCacheMapthat is based on a regularHashMap.Methods in org.dataloader.impl that return CacheMap Modifier and Type Method Description CacheMap<K,V>DefaultCacheMap. clear()Clears all entries of the cache mapCacheMap<K,V>DefaultCacheMap. delete(K key)Deletes the entry with the specified key from the cache map, if it exists.CacheMap<K,V>DefaultCacheMap. set(K key, java.util.concurrent.CompletableFuture<V> value)Creates a new cache map entry with the specified key and value, or updates the value if the key already exists.
-