public class EsAbortPolicy extends Object implements XRejectedExecutionHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
SHUTTING_DOWN_KEY |
| Constructor and Description |
|---|
EsAbortPolicy() |
| Modifier and Type | Method and Description |
|---|---|
long |
rejected()
The number of rejected executions.
|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public static final String SHUTTING_DOWN_KEY
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution in interface RejectedExecutionHandlerpublic long rejected()
XRejectedExecutionHandlerrejected in interface XRejectedExecutionHandlerCopyright © 2009–2016. All rights reserved.