Showing
1 changed file
with
2 additions
and
2 deletions
@@ -159,7 +159,7 @@ public class OneJob implements Callable { | @@ -159,7 +159,7 @@ public class OneJob implements Callable { | ||
159 | .currItems(Long.valueOf(statMap.get("curr_items"))) | 159 | .currItems(Long.valueOf(statMap.get("curr_items"))) |
160 | .maxBytes(Long.valueOf(statMap.get("limit_maxbytes"))) | 160 | .maxBytes(Long.valueOf(statMap.get("limit_maxbytes"))) |
161 | .underBytes(Long.valueOf(statMap.get("bytes"))) | 161 | .underBytes(Long.valueOf(statMap.get("bytes"))) |
162 | - .upTime(Long.valueOf(statMap.get("updateTime"))); | 162 | + .upTime(Long.valueOf(statMap.get("uptime"))); |
163 | 163 | ||
164 | //计算探测耗时 | 164 | //计算探测耗时 |
165 | Long startTimestamp = System.currentTimeMillis(); | 165 | Long startTimestamp = System.currentTimeMillis(); |
@@ -217,7 +217,7 @@ public class OneJob implements Callable { | @@ -217,7 +217,7 @@ public class OneJob implements Callable { | ||
217 | 217 | ||
218 | String upTime = String.valueOf(memcacheModel.getUpTime() / (60 * 60 * 24)); | 218 | String upTime = String.valueOf(memcacheModel.getUpTime() / (60 * 60 * 24)); |
219 | 219 | ||
220 | - memcacheView.setUpTime(upTime); | 220 | + memcacheView.setUpTime(upTime+"Days"); |
221 | 221 | ||
222 | memcacheView.setCurItems(String.valueOf(memcacheModel.getCurrItems())); | 222 | memcacheView.setCurItems(String.valueOf(memcacheModel.getCurrItems())); |
223 | 223 |
-
Please register or login to post a comment