Package org.elasticsearch.cluster
Class LocalMasterServiceTask
java.lang.Object
org.elasticsearch.cluster.LocalMasterServiceTask
- All Implemented Interfaces:
ClusterStateTaskListener
Used to execute things on the master service thread on nodes that are not necessarily master
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ClusterState currentState) voidsubmit(MasterService masterService, String source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.ClusterStateTaskListener
clusterStateProcessed, onFailure, onNoLongerMaster
-
Constructor Details
-
LocalMasterServiceTask
-
-
Method Details
-
execute
- Throws:
Exception
-
submit
-