Class EsAbortPolicy
- java.lang.Object
-
- org.elasticsearch.common.util.concurrent.EsAbortPolicy
-
- All Implemented Interfaces:
java.util.concurrent.RejectedExecutionHandler,XRejectedExecutionHandler
public class EsAbortPolicy extends java.lang.Object implements XRejectedExecutionHandler
-
-
Constructor Summary
Constructors Constructor Description EsAbortPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longrejected()The number of rejected executions.voidrejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)
-
-
-
Method Detail
-
rejectedExecution
public void rejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)- Specified by:
rejectedExecutionin interfacejava.util.concurrent.RejectedExecutionHandler
-
rejected
public long rejected()
Description copied from interface:XRejectedExecutionHandlerThe number of rejected executions.- Specified by:
rejectedin interfaceXRejectedExecutionHandler
-
-