public class TemplateUpgradeService extends AbstractComponent implements ClusterStateListener
Plugin
s when a node joins the clusterModifier and Type | Field and Description |
---|---|
Client |
client |
ClusterService |
clusterService |
ThreadPool |
threadPool |
deprecationLogger, logger, settings
Constructor and Description |
---|
TemplateUpgradeService(Settings settings,
Client client,
ClusterService clusterService,
ThreadPool threadPool,
java.util.Collection<java.util.function.UnaryOperator<java.util.Map<java.lang.String,IndexTemplateMetaData>>> indexTemplateMetaDataUpgraders) |
Modifier and Type | Method and Description |
---|---|
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
logDeprecatedSetting, logRemovedSetting, nodeName
public final ClusterService clusterService
public final ThreadPool threadPool
public final Client client
public TemplateUpgradeService(Settings settings, Client client, ClusterService clusterService, ThreadPool threadPool, java.util.Collection<java.util.function.UnaryOperator<java.util.Map<java.lang.String,IndexTemplateMetaData>>> indexTemplateMetaDataUpgraders)
public void clusterChanged(ClusterChangedEvent event)
ClusterStateListener
clusterChanged
in interface ClusterStateListener