Class FixedExecutorBuilder

java.lang.Object
org.elasticsearch.threadpool.ExecutorBuilder<org.elasticsearch.threadpool.FixedExecutorBuilder.FixedExecutorSettings>
org.elasticsearch.threadpool.FixedExecutorBuilder

public final class FixedExecutorBuilder
extends ExecutorBuilder<org.elasticsearch.threadpool.FixedExecutorBuilder.FixedExecutorSettings>
A builder for fixed executors.
  • Constructor Summary

    Constructors
    Constructor Description
    FixedExecutorBuilder​(Settings settings, java.lang.String name, int size, int queueSize, java.lang.String prefix)
    Construct a fixed executor builder.
    FixedExecutorBuilder​(Settings settings, java.lang.String name, int size, int queueSize, java.lang.String prefix, boolean deprecated)
    Construct a fixed executor builder.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<Setting<?>> getRegisteredSettings()
    The list of settings this builder will register.

    Methods inherited from class org.elasticsearch.threadpool.ExecutorBuilder

    applyHardSizeLimit, name, settingsKey

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FixedExecutorBuilder

      public FixedExecutorBuilder​(Settings settings, java.lang.String name, int size, int queueSize, java.lang.String prefix)
      Construct a fixed executor builder.
      Parameters:
      settings - the node-level settings
      name - the name of the executor
      size - the fixed number of threads
      queueSize - the size of the backing queue, -1 for unbounded
      prefix - the prefix for the settings keys
    • FixedExecutorBuilder

      public FixedExecutorBuilder​(Settings settings, java.lang.String name, int size, int queueSize, java.lang.String prefix, boolean deprecated)
      Construct a fixed executor builder.
      Parameters:
      settings - the node-level settings
      name - the name of the executor
      size - the fixed number of threads
      queueSize - the size of the backing queue, -1 for unbounded
      prefix - the prefix for the settings keys
      deprecated - whether or not the thread pool is deprecated
  • Method Details

    • getRegisteredSettings

      public java.util.List<Setting<?>> getRegisteredSettings()
      Description copied from class: ExecutorBuilder
      The list of settings this builder will register.
      Specified by:
      getRegisteredSettings in class ExecutorBuilder<org.elasticsearch.threadpool.FixedExecutorBuilder.FixedExecutorSettings>
      Returns:
      the list of registered settings