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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ClusterState currentState) void
submit
(MasterService masterService, String source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.cluster.ClusterStateTaskListener
clusterStateProcessed, onFailure, onNoLongerMaster
-
Constructor Details
-
LocalMasterServiceTask
-
-
Method Details
-
execute
- Throws:
Exception
-
submit
-