Module org.elasticsearch.server
Class NodeFeaturesFixupListener
java.lang.Object
org.elasticsearch.cluster.features.NodeFeaturesFixupListener
- All Implemented Interfaces:
ClusterStateListener
-
Constructor Summary
ConstructorsConstructorDescriptionNodeFeaturesFixupListener(ClusterService service, ClusterAdminClient client, ThreadPool threadPool) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when cluster state changes.
-
Constructor Details
-
NodeFeaturesFixupListener
public NodeFeaturesFixupListener(ClusterService service, ClusterAdminClient client, ThreadPool threadPool)
-
-
Method Details
-
clusterChanged
Description copied from interface:ClusterStateListenerCalled when cluster state changes.Cluster states are applied one-by-one which means they can be a performance bottleneck. Implementations of this method should therefore be fast, so please consider forking work into the background rather than doing everything inline.
- Specified by:
clusterChangedin interfaceClusterStateListener
-