...
|
...
|
@@ -58,6 +58,8 @@ public class QueueViewJob implements Callable { |
|
|
}
|
|
|
|
|
|
public void doTask() {
|
|
|
DEBUG.info("Start to execute queue view job in moid {}", this.moId);
|
|
|
|
|
|
MObjectInfo moInfo = InterVar.moMaps.get(moId);
|
|
|
|
|
|
String url = MessageFormat.format(InterVar.URLFORMAT, moInfo.getMoHostIp(), InterVar.port) + InterVar.QUEUE_URL;
|
...
|
...
|
@@ -106,6 +108,8 @@ public class QueueViewJob implements Callable { |
|
|
|
|
|
InterVar.queueViewMaps.put(moId, oneView);
|
|
|
}
|
|
|
|
|
|
DEBUG.info("End to execute queue view job in moid {}", this.moId);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -153,9 +157,8 @@ public class QueueViewJob implements Callable { |
|
|
}
|
|
|
|
|
|
//初始化
|
|
|
private void initQueueAlert(String moId, QueueInfo queueInfo)
|
|
|
{
|
|
|
RabbitAlertInfo alertInfo=new RabbitAlertInfo();
|
|
|
private void initQueueAlert(String moId, QueueInfo queueInfo) {
|
|
|
RabbitAlertInfo alertInfo = new RabbitAlertInfo();
|
|
|
|
|
|
alertInfo.setAlertHigh(200);
|
|
|
|
...
|
...
|
|