docs: public void setProcessorMaxThreads(int maxThreads) {
          if (processor.getCorePoolSize() > maxThreads) {
              processor.setCorePoolSize(maxThreads);
          }
          processor.setMaximumPoolSize(maxThreads);
      }