com.liferay.portal.kernel.executor
Class PortalExecutorConfig
java.lang.Object
com.liferay.portal.kernel.executor.PortalExecutorConfig
- All Implemented Interfaces:
- Serializable
public class PortalExecutorConfig
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
PortalExecutorConfig(String name,
int corePoolSize,
int maxPoolSize,
long keepAliveTime,
TimeUnit timeUnit,
boolean allowCoreThreadTimeout,
int maxQueueSize,
RejectedExecutionHandler rejectedExecutionHandler,
ThreadPoolHandler threadPoolHandler,
int priority,
ClassLoader contextClassLoader)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalExecutorConfig
public PortalExecutorConfig(String name,
int corePoolSize,
int maxPoolSize,
long keepAliveTime,
TimeUnit timeUnit,
boolean allowCoreThreadTimeout,
int maxQueueSize,
RejectedExecutionHandler rejectedExecutionHandler,
ThreadPoolHandler threadPoolHandler,
int priority,
ClassLoader contextClassLoader)
getCorePoolSize
public int getCorePoolSize()
getKeepAliveTime
public long getKeepAliveTime()
getMaxPoolSize
public int getMaxPoolSize()
getMaxQueueSize
public int getMaxQueueSize()
getName
public String getName()
getRejectedExecutionHandler
public RejectedExecutionHandler getRejectedExecutionHandler()
getThreadFactory
public ThreadFactory getThreadFactory()
getThreadPoolHandler
public ThreadPoolHandler getThreadPoolHandler()
getTimeUnit
public TimeUnit getTimeUnit()
isAllowCoreThreadTimeout
public boolean isAllowCoreThreadTimeout()