org.elasticsearch.common.util.concurrent
Class EsAbortPolicy
java.lang.Object
org.elasticsearch.common.util.concurrent.EsAbortPolicy
- All Implemented Interfaces:
- RejectedExecutionHandler, XRejectedExecutionHandler
public class EsAbortPolicy
- extends Object
- implements XRejectedExecutionHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EsAbortPolicy
public EsAbortPolicy()
rejectedExecution
public void rejectedExecution(Runnable r,
ThreadPoolExecutor executor)
- Specified by:
rejectedExecution
in interface RejectedExecutionHandler
rejected
public long rejected()
- Description copied from interface:
XRejectedExecutionHandler
- The number of rejected executions.
- Specified by:
rejected
in interface XRejectedExecutionHandler
Copyright © 2009-2012. All Rights Reserved.