Uses of Class
org.dataloader.DataLoaderOptions
Packages that use DataLoaderOptions
-
Uses of DataLoaderOptions in org.dataloader
Methods in org.dataloader that return DataLoaderOptionsModifier and TypeMethodDescriptionstatic DataLoaderOptionsDataLoaderOptions.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 theBatchLoaderfunction 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 theValueCacheOptionsthat control how theValueCachewill be usedMethods in org.dataloader with parameters of type DataLoaderOptionsModifier and TypeMethodDescriptionstatic <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.useDataLoaderFactoryinsteadstatic <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.useDataLoaderFactoryinsteadstatic <K,V> DataLoader <K, V> DataLoader.newDataLoaderWithTry(BatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactoryinsteadstatic <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 ofTryobjects.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 ofTryobjects.static <K,V> DataLoader <K, V> DataLoader.newMappedDataLoader(MappedBatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactoryinsteadstatic <K,V> DataLoader <K, V> DataLoader.newMappedDataLoader(MappedBatchLoaderWithContext<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactoryinsteadstatic <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.useDataLoaderFactoryinsteadstatic <K,V> DataLoader <K, V> DataLoader.newMappedDataLoaderWithTry(MappedBatchLoaderWithContext<K, Try<V>> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactoryinsteadstatic <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 ofTryobjects.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 ofTryobjects.Constructors in org.dataloader with parameters of type DataLoaderOptionsModifierConstructorDescriptionDataLoader(BatchLoader<K, V> batchLoadFunction, DataLoaderOptions options) Deprecated.useDataLoaderFactoryinsteadClones the provided data loader options.
DataLoaderFactoryinstead