Package org.dataloader
Class ValueCacheOptions
java.lang.Object
org.dataloader.ValueCacheOptions
Options that control how the
ValueCache is used by DataLoader-
Method Summary
Modifier and TypeMethodDescriptionbooleanThis controls whether theDataLoaderwill wait for theValueCache.set(Object, Object)call to complete before it completes the returned value.static ValueCacheOptionssetCompleteValueAfterCacheSet(boolean flag)
-
Method Details
-
newOptions
-
isCompleteValueAfterCacheSet
public boolean isCompleteValueAfterCacheSet()This controls whether theDataLoaderwill wait for theValueCache.set(Object, Object)call to complete before it completes the returned value. By default, this is false and hence theValueCache.set(Object, Object)call may complete some time AFTER the data loader value has been returned. This is false by default, for performance reasons.- Returns:
- true the
DataLoaderwill wait for theValueCache.set(Object, Object)call to complete before it completes the returned value.
-
setCompleteValueAfterCacheSet
-