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