Class TemplateUpgradeService
java.lang.Object
org.elasticsearch.cluster.metadata.TemplateUpgradeService
- All Implemented Interfaces:
ClusterStateListener
Upgrades Templates on behalf of installed
Plugin
s when a node joins the cluster-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionTemplateUpgradeService(Client client, ClusterService clusterService, ThreadPool threadPool, Collection<UnaryOperator<Map<String,IndexTemplateMetadata>>> indexTemplateMetadataUpgraders)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when cluster state changes.
-
Field Details
-
clusterService
-
threadPool
-
client
-
-
Constructor Details
-
TemplateUpgradeService
public TemplateUpgradeService(Client client, ClusterService clusterService, ThreadPool threadPool, Collection<UnaryOperator<Map<String,IndexTemplateMetadata>>> indexTemplateMetadataUpgraders)
-
-
Method Details
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.- Specified by:
clusterChanged
in interfaceClusterStateListener
-