Package org.jgroups.util
Class ShutdownRejectedExecutionHandler
java.lang.Object
org.jgroups.util.ShutdownRejectedExecutionHandler
- All Implemented Interfaces:
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.
- Version:
- $Id: ShutdownRejectedExecutionHandler.java,v 1.101 2008/04/08 14:49:05 belaban Exp $
- Author:
- Vladimir Blagojevic
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
rejectedExecution
(Runnable r, ThreadPoolExecutor executor)
-
Constructor Details
-
ShutdownRejectedExecutionHandler
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
-