public class BlockingRejectedExecutionHandler extends Object implements RejectedExecutionHandler
| Modifier and Type | Method and Description |
|---|---|
static BlockingRejectedExecutionHandler |
getInstance() |
void |
rejectedExecution(Runnable r,
ExecutorService executor) |
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public static BlockingRejectedExecutionHandler getInstance()
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution in interface RejectedExecutionHandlerpublic void rejectedExecution(Runnable r, ExecutorService executor)
Copyright © 2022 JBoss by Red Hat. All rights reserved.