public class MetaDataUpdateSettingsService extends AbstractComponent implements ClusterStateListener
deprecationLogger, logger, settings
Constructor and Description |
---|
MetaDataUpdateSettingsService(Settings settings,
ClusterService clusterService,
AllocationService allocationService,
IndexScopedSettings indexScopedSettings,
IndicesService indicesService,
ThreadPool threadPool) |
Modifier and Type | Method and Description |
---|---|
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
void |
updateSettings(UpdateSettingsClusterStateUpdateRequest request,
ActionListener<ClusterStateUpdateResponse> listener) |
void |
upgradeIndexSettings(UpgradeSettingsClusterStateUpdateRequest request,
ActionListener<ClusterStateUpdateResponse> listener) |
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public MetaDataUpdateSettingsService(Settings settings, ClusterService clusterService, AllocationService allocationService, IndexScopedSettings indexScopedSettings, IndicesService indicesService, ThreadPool threadPool)
public void clusterChanged(ClusterChangedEvent event)
ClusterStateListener
clusterChanged
in interface ClusterStateListener
public void updateSettings(UpdateSettingsClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
public void upgradeIndexSettings(UpgradeSettingsClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)