public class PortalExecutorFactoryImpl
extends java.lang.Object
implements com.liferay.portal.kernel.executor.PortalExecutorFactory
| Constructor and Description |
|---|
PortalExecutorFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor |
createPortalExecutor(java.lang.String executorName) |
void |
setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout) |
void |
setCorePoolSize(int corePoolSize) |
void |
setKeepAliveTime(long keepAliveTime) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setMaxQueueSize(int maxQueueSize) |
void |
setRejectedExecutionHandler(com.liferay.portal.kernel.concurrent.RejectedExecutionHandler rejectedExecutionHandler) |
void |
setThreadPoolHandler(com.liferay.portal.kernel.concurrent.ThreadPoolHandler threadPoolHandler) |
void |
setTimeUnit(java.util.concurrent.TimeUnit timeUnit) |
public void afterPropertiesSet()
public com.liferay.portal.kernel.concurrent.ThreadPoolExecutor createPortalExecutor(java.lang.String executorName)
createPortalExecutor in interface com.liferay.portal.kernel.executor.PortalExecutorFactorypublic void setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout)
public void setCorePoolSize(int corePoolSize)
public void setKeepAliveTime(long keepAliveTime)
public void setMaxPoolSize(int maxPoolSize)
public void setMaxQueueSize(int maxQueueSize)
public void setRejectedExecutionHandler(com.liferay.portal.kernel.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
public void setThreadPoolHandler(com.liferay.portal.kernel.concurrent.ThreadPoolHandler threadPoolHandler)
public void setTimeUnit(java.util.concurrent.TimeUnit timeUnit)