Showing
1 changed file
with
4 additions
and
0 deletions
@@ -104,6 +104,8 @@ public class ZabbixAlarm { | @@ -104,6 +104,8 @@ public class ZabbixAlarm { | ||
104 | 104 | ||
105 | int executorSize = allIdList.size() / 100 + 1; | 105 | int executorSize = allIdList.size() / 100 + 1; |
106 | 106 | ||
107 | + DEBUG.info("Start to watch all vm size {}....", allIdList.size()); | ||
108 | + | ||
107 | ExecutorService executor = Executors.newFixedThreadPool(executorSize, new ThreadFactory() { | 109 | ExecutorService executor = Executors.newFixedThreadPool(executorSize, new ThreadFactory() { |
108 | @Override | 110 | @Override |
109 | public Thread newThread(Runnable r) { | 111 | public Thread newThread(Runnable r) { |
@@ -136,6 +138,8 @@ public class ZabbixAlarm { | @@ -136,6 +138,8 @@ public class ZabbixAlarm { | ||
136 | } | 138 | } |
137 | 139 | ||
138 | executor.shutdown(); | 140 | executor.shutdown(); |
141 | + | ||
142 | + DEBUG.info("End to watch all vm size {}....", allIdList.size()); | ||
139 | } | 143 | } |
140 | 144 | ||
141 | //查询所有host信息 | 145 | //查询所有host信息 |
-
Please register or login to post a comment