return (i < dataProviderConfigs.size());
}
public Object next() {
int i = index.get();
ThrottlingTaskDataProviderConfiguration handlerConfig = dataProviderConfigs.get(i++);
index.set(i);
try {
return handlerConfig.getDataProvider();
} catch (ThrottlingException e) {
String msg = "DataProvider for the dataProviderConfigs config is null. " +
"dataProviderConfigs index: " + (i - 1) + ".";
log.error(msg);
}