Class LimitedThreadPool

java.lang.Object
org.apache.dubbo.common.threadpool.support.limited.LimitedThreadPool
All Implemented Interfaces:
ThreadPool

public class LimitedThreadPool extends Object implements ThreadPool
Creates a thread pool that creates new threads as needed until limits reaches. This thread pool will not shrink automatically.
  • Constructor Details

    • LimitedThreadPool

      public LimitedThreadPool()
  • 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