org.drools.concurrent
Class DroolsThreadPoolFactoryImpl

java.lang.Object
  extended by org.drools.concurrent.DroolsThreadPoolFactoryImpl

public class DroolsThreadPoolFactoryImpl
extends Object

This is an Drools Thread Pool Factory Implementation responsible for making any required thread pools available to Drools. The purpose of this class is to enable Drools to directly instantiate thread pools when running stand-alone or use managed thread pools in JEE, Spring, or other similar managed environments


Constructor Summary
DroolsThreadPoolFactoryImpl()
           
DroolsThreadPoolFactoryImpl(ExecutorService executorService)
           
 
Method Summary
 ExecutorService getExecutorService()
           
 ExecutorService getThreadBoundedExecutorService(int maxThreadCount)
           
 void setExecutorService(ExecutorService executorService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroolsThreadPoolFactoryImpl

public DroolsThreadPoolFactoryImpl()

DroolsThreadPoolFactoryImpl

public DroolsThreadPoolFactoryImpl(ExecutorService executorService)
Method Detail

getExecutorService

public ExecutorService getExecutorService()

setExecutorService

public void setExecutorService(ExecutorService executorService)

getThreadBoundedExecutorService

public ExecutorService getThreadBoundedExecutorService(int maxThreadCount)


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.