public final class DestructiveOperations extends AbstractComponent implements NodeSettingsService.Listener
Modifier and Type | Field and Description |
---|---|
static String |
REQUIRES_NAME
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
|
deprecationLogger, logger, settings
Constructor and Description |
---|
DestructiveOperations(Settings settings,
NodeSettingsService nodeSettingsService) |
Modifier and Type | Method and Description |
---|---|
void |
failDestructive(String[] aliasesOrIndices)
Fail if there is wildcard usage in indices and the named is required for destructive operations.
|
void |
onRefreshSettings(Settings settings) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String REQUIRES_NAME
@Inject public DestructiveOperations(Settings settings, NodeSettingsService nodeSettingsService)
public void failDestructive(String[] aliasesOrIndices)
public void onRefreshSettings(Settings settings)
onRefreshSettings
in interface NodeSettingsService.Listener
Copyright © 2009–2017. All rights reserved.