Module org.elasticsearch.server
Package org.elasticsearch.threadpool
package org.elasticsearch.threadpool
-
ClassDescriptionExecutorBuilder<U extends org.elasticsearch.threadpool.ExecutorBuilder.ExecutorSettings>Base class for executor builders.A builder for fixed executors.A builder for scaling executors.A
Scheduler
which wraps aScheduledExecutorService
.Scheduler that allows to schedule one-shot and periodic commands.This interface represents an object whose execution may be cancelled during runtime.This class encapsulates the scheduling of aRunnable
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 handlerA scheduled cancellable allow cancelling and reading the remaining delay of a scheduled task.