Class EsAbortPolicy
java.lang.Object
org.elasticsearch.common.util.concurrent.EsAbortPolicy
- All Implemented Interfaces:
RejectedExecutionHandler
,XRejectedExecutionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
rejected()
The number of rejected executions.void
rejectedExecution(Runnable r, ThreadPoolExecutor executor)
-
Constructor Details
-
EsAbortPolicy
public EsAbortPolicy()
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
-
rejected
public long rejected()Description copied from interface:XRejectedExecutionHandler
The number of rejected executions.- Specified by:
rejected
in interfaceXRejectedExecutionHandler
-