Commit c5af182590522374f644d8230f8fa74790fc7818
1 parent
5661f111
update
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/java/com/bsth/data/arrival/ArrivalData_GPS.java
| 1 | 1 | package com.bsth.data.arrival; |
| 2 | 2 | |
| 3 | +import com.bsth.Application; | |
| 3 | 4 | import com.bsth.data.match.Arrival2Schedule; |
| 4 | 5 | import com.bsth.data.schedule.DayOfSchedule; |
| 5 | 6 | import com.google.common.collect.ArrayListMultimap; |
| ... | ... | @@ -11,6 +12,7 @@ import org.springframework.boot.CommandLineRunner; |
| 11 | 12 | import org.springframework.stereotype.Component; |
| 12 | 13 | |
| 13 | 14 | import java.util.*; |
| 15 | +import java.util.concurrent.TimeUnit; | |
| 14 | 16 | |
| 15 | 17 | /** |
| 16 | 18 | * |
| ... | ... | @@ -42,7 +44,7 @@ public class ArrivalData_GPS implements CommandLineRunner{ |
| 42 | 44 | @Override |
| 43 | 45 | public void run(String... arg0) throws Exception { |
| 44 | 46 | logger.info("ArrivalData_GPS,30,10"); |
| 45 | - //Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 40, 10, TimeUnit.SECONDS); | |
| 47 | + Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 40, 10, TimeUnit.SECONDS); | |
| 46 | 48 | } |
| 47 | 49 | |
| 48 | 50 | @Component | ... | ... |