Class ScheduleAutoConfiguration


  • @Configuration
    @Profile("!schedule-disabled")
    @EnableScheduling
    public class ScheduleAutoConfiguration
    extends BaseConfiguration
    ScheduleAutoConfiguration configures the flux calls.
    • Method Detail

      • taskScheduler

        @Bean
        public org.springframework.scheduling.TaskScheduler taskScheduler()
        Configure the task scheduler.
        Returns:
        task scheduler
      • accountFluxUpdate

        @Scheduled(initialDelay=1000L,
                   fixedDelay=1L)
        public void accountFluxUpdate()
        Recurrent calls to the account flux.
      • tickerFluxUpdate

        @Scheduled(initialDelay=1000L,
                   fixedDelay=1L)
        public void tickerFluxUpdate()
        Recurrent calls to the ticker flux.
      • orderAndTradeFluxUpdate

        @Scheduled(initialDelay=1000L,
                   fixedDelay=1L)
        public void orderAndTradeFluxUpdate()
        Recurrent calls to the order and trade flux.
      • shutdown

        @PreDestroy
        public void shutdown()
        This method is called before the application shutdown. We stop the flux.