public class EsAbortPolicy extends java.lang.Object implements XRejectedExecutionHandler
Constructor and Description |
---|
EsAbortPolicy() |
Modifier and Type | Method and Description |
---|---|
long |
rejected()
The number of rejected executions.
|
void |
rejectedExecution(java.lang.Runnable r,
java.util.concurrent.ThreadPoolExecutor executor) |
public void rejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)
rejectedExecution
in interface java.util.concurrent.RejectedExecutionHandler
public long rejected()
XRejectedExecutionHandler
rejected
in interface XRejectedExecutionHandler