|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.util.ShutdownRejectedExecutionHandler
public class ShutdownRejectedExecutionHandler
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.
ThreadPoolExecutor
,
14:49:05 belaban Exp $
Constructor Summary | |
---|---|
ShutdownRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler handler)
|
Method Summary | |
---|---|
void |
rejectedExecution(java.lang.Runnable r,
java.util.concurrent.ThreadPoolExecutor executor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShutdownRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler handler)
Method Detail |
---|
public void rejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)
rejectedExecution
in interface java.util.concurrent.RejectedExecutionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |