Package | Description |
---|---|
com.liferay.portal.kernel.concurrent | |
com.liferay.portal.kernel.executor | |
com.liferay.portal.kernel.messaging |
Modifier and Type | Class and Description |
---|---|
class |
AbortPolicy
Implements the same behavior as
ThreadPoolExecutor.AbortPolicy . |
class |
CallerRunsPolicy
Implements the same behavior as
ThreadPoolExecutor.CallerRunsPolicy . |
class |
DiscardOldestPolicy
Implements the same behavior as
ThreadPoolExecutor.DiscardOldestPolicy . |
class |
DiscardPolicy
Implements the same behavior as
ThreadPoolExecutor.DiscardPolicy . |
class |
DiscardWithCancelPolicy
Handles rejected tasks by canceling them immediately.
|
Modifier and Type | Method and Description |
---|---|
RejectedExecutionHandler |
ThreadPoolExecutor.getRejectedExecutionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
ThreadPoolExecutor.setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) |
Constructor and Description |
---|
ThreadPoolExecutor(int corePoolSize,
int maxPoolSize,
long keepAliveTime,
TimeUnit timeUnit,
boolean allowCoreThreadTimeout,
int maxQueueSize,
RejectedExecutionHandler rejectedExecutionHandler,
ThreadFactory threadFactory,
ThreadPoolHandler threadPoolHandler) |
Modifier and Type | Method and Description |
---|---|
RejectedExecutionHandler |
PortalExecutorConfig.getRejectedExecutionHandler()
Deprecated.
|
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 |
---|---|
protected RejectedExecutionHandler |
BaseAsyncDestination.createRejectionExecutionHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
RejectedExecutionHandler |
DestinationConfiguration.getRejectedExecutionHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
Modifier and Type | Method and Description |
---|---|
void |
DestinationConfiguration.setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
void |
BaseAsyncDestination.setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|