use of com.creditease.uav.feature.runtimenotify.task.JudgeNotifyTimerTask in project uavstack by uavorg.
the class TimerNotifyWorker method run.
@Override
public void run() {
RuntimeNotifyStrategyMgr strategyMgr = (RuntimeNotifyStrategyMgr) getConfigManager().getComponent(this.feature, "RuntimeNotifyStrategyMgr");
HashSet<NotifyStrategy> strategies = new HashSet<NotifyStrategy>(strategyMgr.getStrategies());
for (NotifyStrategy stra : strategies) {
if (stra.getType() != NotifyStrategy.Type.TIMER) {
continue;
}
I1NQueueWorker n1nqw = get1NQueueWorkerMgr().getQueueWorker(this.feature, RuntimeNotifyCatcher.QWORKER_NAME);
n1nqw.put(new JudgeNotifyTimerTask(JudgeNotifyTask.class.getSimpleName(), feature, System.currentTimeMillis(), stra));
}
}
Aggregations