@Override public void run() { Map<String, SystemDataModel> systemInfoMap = Maps.newHashMap(); for (Entry<String, MonitorClientSerivce> target : monitorClientsMap.entrySet()) { MonitorClientSerivce monitorClientSerivce = target.getValue(); SystemInfo saveDataCache = monitorClientSerivce.saveDataCache(); if (saveDataCache != null) { systemInfoMap.put(target.getKey(), new SystemDataModel(saveDataCache, "UNKNOWN")); } } perfTestService.updateMonitorStat(perfTestId, systemInfoMap); }