Package org.languagetool.tools
Class LtThreadPoolFactory.LtRejectedExecutionHandler
java.lang.Object
java.util.concurrent.ThreadPoolExecutor.AbortPolicy
org.languagetool.tools.LtThreadPoolFactory.LtRejectedExecutionHandler
- All Implemented Interfaces:
RejectedExecutionHandler
- Enclosing class:
LtThreadPoolFactory
private static class LtThreadPoolFactory.LtRejectedExecutionHandler
extends ThreadPoolExecutor.AbortPolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrejectedExecution(Runnable runnable, ThreadPoolExecutor threadPoolExecutor)
-
Constructor Details
-
LtRejectedExecutionHandler
private LtRejectedExecutionHandler()
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler- Overrides:
rejectedExecutionin classThreadPoolExecutor.AbortPolicy
-