com.liferay.portal.executor
Class PortalExecutorFactoryImpl
java.lang.Object
com.liferay.portal.executor.PortalExecutorFactoryImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.executor.PortalExecutorFactory
public class PortalExecutorFactoryImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.executor.PortalExecutorFactory
- Author:
- Shuyang Zhou
| 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 com.liferay.portal.kernel.concurrent.ThreadPoolExecutor createPortalExecutor(java.lang.String executorName)
- Specified by:
createPortalExecutor in interface com.liferay.portal.kernel.executor.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(com.liferay.portal.kernel.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
setThreadPoolHandler
public void setThreadPoolHandler(com.liferay.portal.kernel.concurrent.ThreadPoolHandler threadPoolHandler)
setTimeUnit
public void setTimeUnit(java.util.concurrent.TimeUnit timeUnit)