public final class DestructiveOperations extends AbstractComponent
Modifier and Type | Field | Description |
---|---|---|
static Setting<java.lang.Boolean> |
REQUIRES_NAME_SETTING |
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
|
deprecationLogger, logger, settings
Constructor | Description |
---|---|
DestructiveOperations(Settings settings,
ClusterSettings clusterSettings) |
Modifier and Type | Method | 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)