code: public synchronized void setMaximumPoolSize(int maximumPoolSize)
      {
          if (maximumPoolSize <= 0)
          {
              throw new IllegalArgumentException("New maximumPoolSize (" + maximumPoolSize + ") is must be positive");
          }
  
          if (maximumPoolSize < poolSize)
          {
              throw new IllegalArgumentException(
                      "New maximumPoolSize (" + maximumPoolSize + ") is less than current pool size (" + poolSize + ")");
          }
  
          if (pool != null)
          {
              pool.setMaximumPoolSize(maximumPoolSize);
          }
          this.maximumPoolSize = maximumPoolSize;
      }
docs: Sets the maximum number of worker threads in the thread pool. <br>
  This equals the maximum number of concurrent requests this AgiServer can
  serve. <br>
  The default maximum pool size is 100.
  
  @param maximumPoolSize the maximum size of the worker thread pool.
  @throws IllegalArgumentException if maximumPoolSize is less than current
  pool size or less than or equal to 0.
  @see java.util.concurrent.ThreadPoolExecutor#setMaximumPoolSize(int)