Class EagerThreadPool

java.lang.Object
org.apache.dubbo.common.threadpool.support.eager.EagerThreadPool
All Implemented Interfaces:
ThreadPool

public class EagerThreadPool extends Object implements ThreadPool
EagerThreadPool When the core threads are all in busy, create new thread instead of putting task into blocking queue.
  • Constructor Details

    • EagerThreadPool

      public EagerThreadPool()
  • Method Details

    • getExecutor

      public Executor getExecutor(URL url)
      Description copied from interface: ThreadPool
      Thread pool
      Specified by:
      getExecutor in interface ThreadPool
      Parameters:
      url - URL contains thread parameter
      Returns:
      thread pool