Class AbortPolicyWithReport
java.lang.Object
java.util.concurrent.ThreadPoolExecutor.AbortPolicy
org.apache.dubbo.common.threadpool.support.AbortPolicyWithReport
- All Implemented Interfaces:
RejectedExecutionHandler
Abort Policy.
Log warn info when abort.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispatch ThreadPoolExhaustedEventvoidvoid
-
Constructor Details
-
AbortPolicyWithReport
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler- Overrides:
rejectedExecutionin classThreadPoolExecutor.AbortPolicy
-
addThreadPoolExhaustedEventListener
-
removeThreadPoolExhaustedEventListener
-
dispatchThreadPoolExhaustedEvent
dispatch ThreadPoolExhaustedEvent- Parameters:
msg-
-