PortalExecutorConfig
@Deprecated
public class PortalExecutorConfig
extends Object
implements Serializable
Constructor and Description |
---|
PortalExecutorConfig(String name,
int corePoolSize,
int maxPoolSize,
long keepAliveTime,
TimeUnit timeUnit,
boolean allowCoreThreadTimeout,
int maxQueueSize,
RejectedExecutionHandler rejectedExecutionHandler,
ThreadPoolHandler threadPoolHandler,
int priority,
ClassLoader contextClassLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getCorePoolSize()
Deprecated.
|
long |
getKeepAliveTime()
Deprecated.
|
int |
getMaxPoolSize()
Deprecated.
|
int |
getMaxQueueSize()
Deprecated.
|
String |
getName()
Deprecated.
|
RejectedExecutionHandler |
getRejectedExecutionHandler()
Deprecated.
|
ThreadFactory |
getThreadFactory()
Deprecated.
|
ThreadPoolHandler |
getThreadPoolHandler()
Deprecated.
|
TimeUnit |
getTimeUnit()
Deprecated.
|
boolean |
isAllowCoreThreadTimeout()
Deprecated.
|
public PortalExecutorConfig(String name, int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, boolean allowCoreThreadTimeout, int maxQueueSize, RejectedExecutionHandler rejectedExecutionHandler, ThreadPoolHandler threadPoolHandler, int priority, ClassLoader contextClassLoader)
public int getCorePoolSize()
public long getKeepAliveTime()
public int getMaxPoolSize()
public int getMaxQueueSize()
public String getName()
public RejectedExecutionHandler getRejectedExecutionHandler()
public ThreadFactory getThreadFactory()
public ThreadPoolHandler getThreadPoolHandler()
public TimeUnit getTimeUnit()
public boolean isAllowCoreThreadTimeout()