Interface MasterServiceTaskQueue<T extends ClusterStateTaskListener>

Type Parameters:
T - The type of task to process.

public interface MasterServiceTaskQueue<T extends ClusterStateTaskListener>
A queue of tasks for the master service to execute. Tasks submitted to the same queue can be processed as a batch, resulting in a single cluster state update. Queues are typically created during initialization using MasterService.createTaskQueue(java.lang.String, org.elasticsearch.common.Priority, org.elasticsearch.cluster.ClusterStateTaskExecutor<T>).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    submitTask(String source, T task, TimeValue timeout)
    Submit a task to the queue.