Class FixedThreadPoolExecutorServices

java.lang.Object
org.jboss.weld.executor.AbstractExecutorServices
org.jboss.weld.executor.FixedThreadPoolExecutorServices
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, org.jboss.weld.manager.api.ExecutorServices

public class FixedThreadPoolExecutorServices extends AbstractExecutorServices
Implementation of ExtendedExecutorServices that uses a fixed thread pool. The size of the underlying thread pool is determined by executing Runtime.getRuntime().availableProcessors() + 1.
Author:
Jozef Hartinger
  • Constructor Details

    • FixedThreadPoolExecutorServices

      public FixedThreadPoolExecutorServices(int threadPoolSize)
  • Method Details