Java ScheduledExecutorService 发表于 2018-06-21 | 分类于 Java Examplesimple example1234567var schedule: ScheduledExecutorService = Executors.newScheduledThreadPool(1)schedule.scheduleAtFixedRate( { isPushOrderBook = true }, bootInterval, interval, TimeUnit.MILLISECONDS)