protected int saveResponseList(Map responseList, int counter, int pendingRequestCount) { AggregatedDataHelper aggregatedDataHelper = new AggregatedDataHelper(); String isDeleteEnabledFromVm = null; int ret=aggregatedDataHelper.saveResponseList(responseList, counter, pendingRequestCount, CHUNKSIZE, this); try { String finalAgentName =this.getClass().getSimpleName(); Map arpaAgentConfigMap =this.getArpaAgentConfigEntries(finalAgentName, StringConstants.CONFIG_TYPE_UNCATEGORIZED, StringConstants.DELETE_FILES_FROM_VM_IN_RUNNING); if(arpaAgentConfigMap != null && !arpaAgentConfigMap.isEmpty() ) { isDeleteEnabledFromVm = arpaAgentConfigMap.get(StringConstants.DELETE_FILES_FROM_VM_IN_RUNNING); isDeleteEnabledFromVm = StringUtils.lowerCase(isDeleteEnabledFromVm); } if (isDeleteEnabledFromVm.equalsIgnoreCase("true")) { if (CHUNKSIZE==counter) { FileUtils.deleteQuietly(new File(physicalDIRPathLocal)); } } } catch (Exception e) { } return ret; }