| Package | Description |
|---|---|
| com.liferay.portal.kernel.concurrent | |
| com.liferay.portal.kernel.executor | |
| com.liferay.portal.kernel.messaging |
| Modifier and Type | Method and Description |
|---|---|
void |
RejectedExecutionHandler.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
void |
DiscardPolicy.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
void |
DiscardOldestPolicy.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
void |
DiscardWithCancelPolicy.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor)
Rejects execution of the
Runnable task by canceling it
immediately. |
void |
AbortPolicy.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
void |
CallerRunsPolicy.rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadPoolExecutor |
PortalExecutorManagerUtil.getPortalExecutor(String name) |
ThreadPoolExecutor |
PortalExecutorManager.getPortalExecutor(String name) |
static ThreadPoolExecutor |
PortalExecutorManagerUtil.getPortalExecutor(String name,
boolean createIfAbsent) |
ThreadPoolExecutor |
PortalExecutorManager.getPortalExecutor(String name,
boolean createIfAbsent) |
static ThreadPoolExecutor |
PortalExecutorManagerUtil.registerPortalExecutor(String name,
ThreadPoolExecutor threadPoolExecutor) |
ThreadPoolExecutor |
PortalExecutorManager.registerPortalExecutor(String name,
ThreadPoolExecutor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadPoolExecutor |
PortalExecutorManagerUtil.registerPortalExecutor(String name,
ThreadPoolExecutor threadPoolExecutor) |
ThreadPoolExecutor |
PortalExecutorManager.registerPortalExecutor(String name,
ThreadPoolExecutor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected ThreadPoolExecutor |
BaseAsyncDestination.getThreadPoolExecutor() |