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 RejectedExecutionHandler
public void rejectedExecution(Runnable r, ExecutorService executor)
Copyright © 2021 JBoss by Red Hat. All rights reserved.