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