public class MetaDataUpdateSettingsService extends AbstractComponent implements ClusterStateListener
componentSettings, logger, settings
Constructor and Description |
---|
MetaDataUpdateSettingsService(Settings settings,
ClusterService clusterService,
AllocationService allocationService,
DynamicSettings dynamicSettings) |
Modifier and Type | Method and Description |
---|---|
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
void |
updateSettings(UpdateSettingsClusterStateUpdateRequest request,
ActionListener<ClusterStateUpdateResponse> listener) |
nodeName
@Inject public MetaDataUpdateSettingsService(Settings settings, ClusterService clusterService, AllocationService allocationService, @IndexDynamicSettings DynamicSettings dynamicSettings)
public void clusterChanged(ClusterChangedEvent event)
ClusterStateListener
clusterChanged
in interface ClusterStateListener
public void updateSettings(UpdateSettingsClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
Copyright © 2009–2015. All rights reserved.