Class EsRejectedExecutionHandler

java.lang.Object
org.elasticsearch.common.util.concurrent.EsRejectedExecutionHandler
All Implemented Interfaces:
RejectedExecutionHandler
Direct Known Subclasses:
EsAbortPolicy

public abstract class EsRejectedExecutionHandler extends Object implements RejectedExecutionHandler
  • Constructor Details

    • EsRejectedExecutionHandler

      public EsRejectedExecutionHandler()
  • Method Details

    • rejected

      public long rejected()
      The number of rejected executions.
    • incrementRejections

      protected void incrementRejections()
    • newRejectedException

      protected final EsRejectedExecutionException newRejectedException(Runnable r, ThreadPoolExecutor executor, boolean isExecutorShutdown)