org.springframework.boot.task

Interface TaskExecutorCustomizer

  • 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 TaskExecutorCustomizer
    Callback interface that can be used to customize a ThreadPoolTaskExecutor.
    Since:
    2.1.0
    Author:
    Stephane Nicoll
    See Also:
    TaskExecutorBuilder
    • Method Summary

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

      • customize

        void customize(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor taskExecutor)
        Callback to customize a ThreadPoolTaskExecutor instance.
        Parameters:
        taskExecutor - the task executor to customize

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.