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