while (true) {
UserDataWrapperMapEntry[] mapEntry = new UserDataWrapperMapEntry[dataGen.getSeriesJob().size()];
UserDataWrapper wrapper = new UserDataWrapper(mapEntry);
for (int j = 0; j < dataGen.getSeriesJob().size(); j++) {
JobSeriesExecuter jobExec = null;
mapEntry[j] = new UserDataWrapperMapEntry();
mapEntry[j].setKey((long)j + 1);
if (dataGen.getSeriesJob().get(j).getJobSourceType().equalsIgnoreCase("sql")) {
jobExec = new DatabaseExecutor(dsDetails.getDataSourceID());
} else if(dataGen.getSeriesJob().get(j).getJobSourceType().equalsIgnoreCase("sysmon")) {
jobExec = new SysmonExecutor(dsDetails.getDataSourceID());