Class LocalMasterServiceTask

java.lang.Object
org.elasticsearch.cluster.LocalMasterServiceTask
All Implemented Interfaces:
ClusterStateTaskListener

public abstract class LocalMasterServiceTask extends Object implements ClusterStateTaskListener
Used to execute things on the master service thread on nodes that are not necessarily master
  • Constructor Details

    • LocalMasterServiceTask

      public LocalMasterServiceTask(Priority priority)
  • Method Details

    • execute

      protected void execute(ClusterState currentState)
    • onPublicationComplete

      protected void onPublicationComplete()
    • submit

      public void submit(MasterService masterService, String source)