Class EsExecutors

java.lang.Object
org.elasticsearch.common.util.concurrent.EsExecutors

public class EsExecutors extends Object
  • Field Details

    • NODE_PROCESSORS_SETTING

      public static final Setting<Integer> NODE_PROCESSORS_SETTING
      Setting to manually control the number of allocated processors. This setting is used to adjust thread pool sizes per node. The default value is Runtime.availableProcessors() but should be manually controlled if not all processors on the machine are available to Elasticsearch (e.g., because of CPU limits).
    • DIRECT_EXECUTOR_SERVICE

      public static final ExecutorService DIRECT_EXECUTOR_SERVICE
      ExecutorService that executes submitted tasks on the current thread. This executor service does not support being shutdown.
  • Method Details