com.liferay.portal.executor
Class PortalExecutorFactoryImpl
java.lang.Object
com.liferay.portal.executor.PortalExecutorFactoryImpl
- All Implemented Interfaces:
- PortalExecutorFactory
public class PortalExecutorFactoryImpl
- extends Object
- implements PortalExecutorFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalExecutorFactoryImpl
public PortalExecutorFactoryImpl()
afterPropertiesSet
public void afterPropertiesSet()
createPortalExecutor
public ThreadPoolExecutor createPortalExecutor(String executorName)
- Specified by:
createPortalExecutor
in interface PortalExecutorFactory
setAllowCoreThreadTimeout
public void setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout)
setCorePoolSize
public void setCorePoolSize(int corePoolSize)
setKeepAliveTime
public void setKeepAliveTime(long keepAliveTime)
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
setMaxQueueSize
public void setMaxQueueSize(int maxQueueSize)
setRejectedExecutionHandler
public void setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
setThreadPoolHandler
public void setThreadPoolHandler(ThreadPoolHandler threadPoolHandler)
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)