Uses of Class
org.dataloader.DataLoaderOptions
Packages that use DataLoaderOptions
-
Uses of DataLoaderOptions in org.dataloader
Fields in org.dataloader declared as DataLoaderOptionsMethods in org.dataloader that return DataLoaderOptionsModifier and TypeMethodDescriptionstatic DataLoaderOptions
DataLoaderOptions.newOptions()
DataLoaderOptions.setBatchingEnabled
(boolean batchingEnabled) Sets the option that determines whether batch loading is enabled.DataLoaderOptions.setBatchLoaderContextProvider
(BatchLoaderContextProvider contextProvider) Sets the batch loader environment provider that will be used to give context to batch load functionsDataLoaderOptions.setCacheKeyFunction
(CacheKey<?> cacheKeyFunction) Sets the function to use for creating the cache key, if caching is enabled.DataLoaderOptions.setCacheMap
(CacheMap<?, ?> cacheMap) Sets the cache map implementation to use for caching, if caching is enabled.DataLoaderOptions.setCachingEnabled
(boolean cachingEnabled) Sets the option that determines whether caching is enabled.DataLoaderOptions.setCachingExceptionsEnabled
(boolean cachingExceptionsEnabled) Sets the option that determines whether exceptional values are cachedis enabled.DataLoaderOptions.setMaxBatchSize
(int maxBatchSize) Sets the maximum number of keys that will be presented to theBatchLoader
function before they are split into multiple classDataLoaderOptions.setStatisticsCollector
(Supplier<StatisticsCollector> statisticsCollector) Sets the statistics collector supplier that will be used with these data loader options.DataLoaderOptions.setValueCache
(ValueCache<?, ?> valueCache) Sets the value cache implementation to use for caching values, if caching is enabled.DataLoaderOptions.setValueCacheOptions
(ValueCacheOptions valueCacheOptions) Sets theValueCacheOptions
that control how theValueCache
will be usedMethods in org.dataloader with parameters of type DataLoaderOptionsModifier and TypeMethodDescriptionDataLoader.determineFutureCache
(DataLoaderOptions loaderOptions) private ValueCache
<K, V> DataLoader.determineValueCache
(DataLoaderOptions loaderOptions) (package private) static <K,
V> DataLoader <K, V> DataLoaderFactory.mkDataLoader
(Object batchLoadFunction, DataLoaderOptions options) static <K,
V> DataLoader <K, V> DataLoader.newDataLoader
(BatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.static <K,
V> DataLoader <K, V> DataLoader.newDataLoader
(BatchLoaderWithContext<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newDataLoader
(BatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function with the provided optionsstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newDataLoader
(BatchLoaderWithContext<K, V> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function with the provided optionsstatic <K,
V> DataLoader <K, V> DataLoader.newDataLoaderWithTry
(BatchLoader<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoader.newDataLoaderWithTry
(BatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newDataLoaderWithTry
(BatchLoader<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function and with the provided options where the batch loader function returns a list ofTry
objects.static <K,
V> DataLoader <K, V> DataLoaderFactory.newDataLoaderWithTry
(BatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function and with the provided options where the batch loader function returns a list ofTry
objects.static <K,
V> DataLoader <K, V> DataLoader.newMappedDataLoader
(MappedBatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoader.newMappedDataLoader
(MappedBatchLoaderWithContext<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newMappedDataLoader
(MappedBatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function with the provided optionsstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newMappedDataLoader
(MappedBatchLoaderWithContext<K, V> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function with the provided optionsstatic <K,
V> DataLoader <K, V> DataLoader.newMappedDataLoaderWithTry
(MappedBatchLoader<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoader.newMappedDataLoaderWithTry
(MappedBatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
insteadstatic <K,
V> DataLoader <K, V> DataLoaderFactory.newMappedDataLoaderWithTry
(MappedBatchLoader<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function and with the provided options where the batch loader function returns a list ofTry
objects.static <K,
V> DataLoader <K, V> DataLoaderFactory.newMappedDataLoaderWithTry
(MappedBatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Creates new DataLoader with the specified batch loader function and with the provided options where the batch loader function returns a list ofTry
objects.Constructors in org.dataloader with parameters of type DataLoaderOptionsModifierConstructorDescription(package private)
DataLoader
(Object batchLoadFunction, DataLoaderOptions options) (package private)
DataLoader
(Object batchLoadFunction, DataLoaderOptions options, Clock clock) DataLoader
(BatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactory
instead(package private)
DataLoaderHelper
(DataLoader<K, V> dataLoader, Object batchLoadFunction, DataLoaderOptions loaderOptions, CacheMap<Object, V> futureCache, ValueCache<K, V> valueCache, StatisticsCollector stats, Clock clock) Clones the provided data loader options.
DataLoaderFactory
instead