Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class DownsamplePrepareLifeCycleStateStep
java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateActionStep
org.elasticsearch.xpack.core.ilm.DownsamplePrepareLifeCycleStateStep
An ILM step that sets the target index to use in the
DownsampleStep.
The reason why this is done in a separate step and stored in LifecycleExecutionState,
is because other steps after downsampling also depend on the target index generated here.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDownsamplePrepareLifeCycleStateStep(Step.StepKey key, Step.StepKey nextStepKey, DateHistogramInterval fixedInterval) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates 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
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DownsamplePrepareLifeCycleStateStep
public DownsamplePrepareLifeCycleStateStep(Step.StepKey key, Step.StepKey nextStepKey, DateHistogramInterval fixedInterval)
-
-
Method Details
-
performAction
- Specified by:
performActionin classClusterStateActionStep
-
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
-