Package org.dataloader
Class DataLoaderOptions.Builder
- java.lang.Object
-
- org.dataloader.DataLoaderOptions.Builder
-
- Enclosing class:
- DataLoaderOptions
public static class DataLoaderOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setBatchingEnabled
public DataLoaderOptions.Builder setBatchingEnabled(boolean batchingEnabled)
-
setCachingEnabled
public DataLoaderOptions.Builder setCachingEnabled(boolean cachingEnabled)
-
setCachingExceptionsEnabled
public DataLoaderOptions.Builder setCachingExceptionsEnabled(boolean cachingExceptionsEnabled)
-
setCacheKeyFunction
public DataLoaderOptions.Builder setCacheKeyFunction(CacheKey<?> cacheKeyFunction)
-
setCacheMap
public DataLoaderOptions.Builder setCacheMap(CacheMap<?,?> cacheMap)
-
setValueCache
public DataLoaderOptions.Builder setValueCache(ValueCache<?,?> valueCache)
-
setMaxBatchSize
public DataLoaderOptions.Builder setMaxBatchSize(int maxBatchSize)
-
setStatisticsCollector
public DataLoaderOptions.Builder setStatisticsCollector(java.util.function.Supplier<StatisticsCollector> statisticsCollector)
-
setBatchLoaderContextProvider
public DataLoaderOptions.Builder setBatchLoaderContextProvider(BatchLoaderContextProvider environmentProvider)
-
setValueCacheOptions
public DataLoaderOptions.Builder setValueCacheOptions(ValueCacheOptions valueCacheOptions)
-
setBatchLoaderScheduler
public DataLoaderOptions.Builder setBatchLoaderScheduler(BatchLoaderScheduler batchLoaderScheduler)
-
setInstrumentation
public DataLoaderOptions.Builder setInstrumentation(DataLoaderInstrumentation instrumentation)
-
build
public DataLoaderOptions build()
-
-