Class SynchronyRejectedExecutionHandler
- java.lang.Object
-
- com.atlassian.confluence.plugins.synchrony.bootstrap.SynchronyRejectedExecutionHandler
-
- All Implemented Interfaces:
RejectedExecutionHandler
public class SynchronyRejectedExecutionHandler extends Object implements RejectedExecutionHandler
A handler for rejected tasks that logs a message and throws aRejectedExecutionException.
-
-
Constructor Summary
Constructors Constructor Description SynchronyRejectedExecutionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrejectedExecution(Runnable r, ThreadPoolExecutor e)Logs message and throws RejectedExecutionException.
-
-
-
Method Detail
-
rejectedExecution
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
Logs message and throws RejectedExecutionException.- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler- Parameters:
r- the runnable task requested to be executede- the executor attempting to execute this task- Throws:
RejectedExecutionException- always
-
-