Package | Description |
---|---|
org.dataloader | |
org.dataloader.impl |
Modifier and Type | Method and Description |
---|---|
CacheMap<U,V> |
CacheMap.clear()
Clears all entries of the cache map
|
CacheMap<U,V> |
CacheMap.delete(U key)
Deletes the entry with the specified key from the cache map, if it exists.
|
CacheMap<U,V> |
CacheMap.set(U key,
V value)
Creates a new cache map entry with the specified key and value, or updates the value if the key already exists.
|
static <U,V> CacheMap<U,CompletableFuture<V>> |
CacheMap.simpleMap()
Creates a new cache map, using the default implementation that is based on a
LinkedHashMap . |
Modifier and Type | Method and Description |
---|---|
Optional<CacheMap> |
DataLoaderOptions.cacheMap()
Gets the (optional) cache map implementation that is used for caching, if caching is enabled.
|
Modifier and Type | Method and Description |
---|---|
DataLoaderOptions |
DataLoaderOptions.setCacheMap(CacheMap cacheMap)
Sets the cache map implementation to use for caching, if caching is enabled.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCacheMap<U,V>
Default implementation of
CacheMap that is based on a regular LinkedHashMap . |
Modifier and Type | Method and Description |
---|---|
CacheMap<U,V> |
DefaultCacheMap.clear()
Clears all entries of the cache map
|
CacheMap<U,V> |
DefaultCacheMap.delete(U key)
Deletes the entry with the specified key from the cache map, if it exists.
|
CacheMap<U,V> |
DefaultCacheMap.set(U key,
V value)
Creates a new cache map entry with the specified key and value, or updates the value if the key already exists.
|
Copyright © 2017–2020. All rights reserved.