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 RejectedExecutionHandler
public long rejected()
XRejectedExecutionHandler
rejected
in interface XRejectedExecutionHandler
Copyright © 2009–2016. All rights reserved.