Package com.liferay.petra.executor
Class PortalExecutorConfig
java.lang.Object
com.liferay.petra.executor.PortalExecutorConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPortalExecutorConfig(String name, int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, int maxQueueSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler, com.liferay.petra.concurrent.ThreadPoolHandler threadPoolHandler) -
Method Summary
Modifier and TypeMethodDescriptionintlongintintgetName()com.liferay.petra.concurrent.ThreadPoolHandler
-
Constructor Details
-
PortalExecutorConfig
public PortalExecutorConfig(String name, int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, int maxQueueSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler, com.liferay.petra.concurrent.ThreadPoolHandler threadPoolHandler)
-
-
Method Details
-
getCorePoolSize
public int getCorePoolSize() -
getKeepAliveTime
public long getKeepAliveTime() -
getMaxPoolSize
public int getMaxPoolSize() -
getMaxQueueSize
public int getMaxQueueSize() -
getName
-
getRejectedExecutionHandler
-
getThreadFactory
-
getThreadPoolHandler
public com.liferay.petra.concurrent.ThreadPoolHandler getThreadPoolHandler() -
getTimeUnit
-