Class CallerRunsPolicy
Object
com.liferay.portal.kernel.concurrent.CallerRunsPolicy
- All Implemented Interfaces:
RejectedExecutionHandler
Implements the same behavior as
ThreadPoolExecutor.CallerRunsPolicy
.- Author:
- Shuyang Zhou
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
rejectedExecution
(Runnable runnable, ThreadPoolExecutor threadPoolExecutor)
-
Constructor Details
-
CallerRunsPolicy
public CallerRunsPolicy()
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
- See Also:
-