Commit 84e190ba23cfafd784b6772d0980320c576a4aee
1 parent
1de463e6
update...
Showing
1 changed file
with
12 additions
and
0 deletions
src/main/java/com/bsth/controller/realcontrol/anomalyCheckController.java
| 1 | package com.bsth.controller.realcontrol; | 1 | package com.bsth.controller.realcontrol; |
| 2 | 2 | ||
| 3 | import com.bsth.data.gpsdata.arrival.GpsRealAnalyse; | 3 | import com.bsth.data.gpsdata.arrival.GpsRealAnalyse; |
| 4 | +import com.bsth.data.msg_queue.DirectivePushQueue; | ||
| 5 | +import com.bsth.data.msg_queue.WebSocketPushQueue; | ||
| 4 | import com.bsth.data.schedule.DayOfSchedule; | 6 | import com.bsth.data.schedule.DayOfSchedule; |
| 5 | import com.bsth.entity.realcontrol.ScheduleRealInfo; | 7 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 6 | import org.slf4j.Logger; | 8 | import org.slf4j.Logger; |
| @@ -55,4 +57,14 @@ public class anomalyCheckController { | @@ -55,4 +57,14 @@ public class anomalyCheckController { | ||
| 55 | public void shutdownThreadPool(){ | 57 | public void shutdownThreadPool(){ |
| 56 | GpsRealAnalyse.shutdown(); | 58 | GpsRealAnalyse.shutdown(); |
| 57 | } | 59 | } |
| 60 | + | ||
| 61 | + @RequestMapping(value = "/directivePushQueue") | ||
| 62 | + public void directivePushQueue(){ | ||
| 63 | + DirectivePushQueue.start(); | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + @RequestMapping(value = "/webSocketPushQueue") | ||
| 67 | + public void webSocketPushQueue(){ | ||
| 68 | + WebSocketPushQueue.start(); | ||
| 69 | + } | ||
| 58 | } | 70 | } |