Liferay 7.0-ce-b4

com.liferay.portal.kernel.executor
Class PortalExecutorConfig

java.lang.Object
  extended by 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)
           
 
Method Summary
 int getCorePoolSize()
           
 long getKeepAliveTime()
           
 int getMaxPoolSize()
           
 int getMaxQueueSize()
           
 String getName()
           
 RejectedExecutionHandler getRejectedExecutionHandler()
           
 ThreadFactory getThreadFactory()
           
 ThreadPoolHandler getThreadPoolHandler()
           
 TimeUnit getTimeUnit()
           
 boolean isAllowCoreThreadTimeout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()

Liferay 7.0-ce-b4