public class SynchronyRejectedExecutionHandler extends Object implements RejectedExecutionHandler
RejectedExecutionException
.Constructor and Description |
---|
SynchronyRejectedExecutionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Logs message and throws RejectedExecutionException.
|
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution
in interface RejectedExecutionHandler
r
- the runnable task requested to be executede
- the executor attempting to execute this taskRejectedExecutionException
- alwaysCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences