Package org.elasticsearch.threadpool
package org.elasticsearch.threadpool
-
InterfaceDescriptionScheduler that allows to schedule one-shot and periodic commands.This interface represents an object whose execution may be cancelled during runtime.A scheduled cancellable allow cancelling and reading the remaining delay of a scheduled task.
-
ClassDescriptionA builder for executors that automatically adjust the queue length as needed, depending on Little's Law.ExecutorBuilder<U extends org.elasticsearch.threadpool.ExecutorBuilder.ExecutorSettings>Base class for executor builders.A builder for fixed executors.A builder for scaling executors.This class encapsulates the scheduling of a
Runnable
that needs to be repeated on a interval.This subclass ensures to properly bubble up Throwable instances of both type Error and Exception thrown in submitted/scheduled tasks to the uncaught exception handler