java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateActionStep
org.elasticsearch.xpack.core.ilm.CopySettingsStep
Copy the provided settings from the source to the target index.
The target index is generated by a supplier function. This is useful for actions like shrink, rollup or searchable snapshot that create a new index and migrate the ILM execution from the source to the target index.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCopySettingsStep(Step.StepKey key, Step.StepKey nextStepKey, BiFunction<String, LifecycleExecutionState, String> targetIndexNameSupplier, String... settingsKeys) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]inthashCode()booleanIndicates if the step can be automatically retried when it encounters an execution error.performAction(Index index, ClusterState clusterState) Methods inherited from class org.elasticsearch.xpack.core.ilm.ClusterStateActionStep
indexForAsyncInvocationMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
getCurrentStepKey, getKey, getNextStepKey, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
CopySettingsStep
public CopySettingsStep(Step.StepKey key, Step.StepKey nextStepKey, BiFunction<String, LifecycleExecutionState, String> targetIndexNameSupplier, String... settingsKeys)
-
-
Method Details
-
isRetryable
public boolean isRetryable()Description copied from class:StepIndicates if the step can be automatically retried when it encounters an execution error.- Specified by:
isRetryablein classStep
-
getSettingsKeys
-
performAction
- Specified by:
performActionin classClusterStateActionStep
-
equals
-
hashCode
public int hashCode()
-