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 Details

    • FixedExecutorBuilder

      public FixedExecutorBuilder(Settings settings, String name, int size, int queueSize, 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, String name, int size, int queueSize, 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 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