- 所有已实现的接口:
- java.util.concurrent.RejectedExecutionHandler
public class ShutdownRejectedExecutionHandler
extends java.lang.Object
implements java.util.concurrent.RejectedExecutionHandler
ShutdownRejectedExecutionHandler is a decorator RejectedExecutionHandler used
in all JGroups ThreadPoolExecutor(s). Default RejectedExecutionHandler raises
RuntimeException when a task is submitted to ThreadPoolExecutor that has been
shutdown. ShutdownRejectedExecutionHandler instead logs only a warning
message.
- 作者:
- Vladimir Blagojevic
- 另请参阅:
ThreadPoolExecutor
,
14:49:05 belaban Exp $