public class PortalExecutorConfig
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PortalExecutorConfig(java.lang.String name,
int corePoolSize,
int maxPoolSize,
long keepAliveTime,
java.util.concurrent.TimeUnit timeUnit,
int maxQueueSize,
java.util.concurrent.ThreadFactory threadFactory,
java.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
com.liferay.petra.concurrent.ThreadPoolHandler threadPoolHandler) |
Modifier and Type | Method and Description |
---|---|
int |
getCorePoolSize() |
long |
getKeepAliveTime() |
int |
getMaxPoolSize() |
int |
getMaxQueueSize() |
java.lang.String |
getName() |
java.util.concurrent.RejectedExecutionHandler |
getRejectedExecutionHandler() |
java.util.concurrent.ThreadFactory |
getThreadFactory() |
com.liferay.petra.concurrent.ThreadPoolHandler |
getThreadPoolHandler() |
java.util.concurrent.TimeUnit |
getTimeUnit() |
public PortalExecutorConfig(java.lang.String name, int corePoolSize, int maxPoolSize, long keepAliveTime, java.util.concurrent.TimeUnit timeUnit, int maxQueueSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler, com.liferay.petra.concurrent.ThreadPoolHandler threadPoolHandler)
public int getCorePoolSize()
public long getKeepAliveTime()
public int getMaxPoolSize()
public int getMaxQueueSize()
public java.lang.String getName()
public java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler()
public java.util.concurrent.ThreadFactory getThreadFactory()
public com.liferay.petra.concurrent.ThreadPoolHandler getThreadPoolHandler()
public java.util.concurrent.TimeUnit getTimeUnit()