org.springframework.boot.task

Interface TaskSchedulerCustomizer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface TaskSchedulerCustomizer
    Callback interface that can be used to customize a ThreadPoolTaskScheduler.
    Since:
    2.1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void customize(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler)
      Callback to customize a ThreadPoolTaskScheduler instance.
    • Method Detail

      • customize

        void customize(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler)
        Callback to customize a ThreadPoolTaskScheduler instance.
        Parameters:
        taskScheduler - the task scheduler to customize