public final class DestructiveOperations extends AbstractComponent
Modifier and Type | Field and Description |
---|---|
static Setting<java.lang.Boolean> |
REQUIRES_NAME_SETTING
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
|
deprecationLogger, logger, settings
Constructor and Description |
---|
DestructiveOperations(Settings settings,
ClusterSettings clusterSettings) |
Modifier and Type | Method and Description |
---|---|
void |
failDestructive(java.lang.String[] aliasesOrIndices)
Fail if there is wildcard usage in indices and the named is required for destructive operations.
|
logDeprecatedSetting, logRemovedSetting, nodeName
public static final Setting<java.lang.Boolean> REQUIRES_NAME_SETTING
public DestructiveOperations(Settings settings, ClusterSettings clusterSettings)