Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class UpdateRolloverLifecycleDateStep
java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateActionStep
org.elasticsearch.xpack.core.ilm.UpdateRolloverLifecycleDateStep
Copies the lifecycle reference date to a new index created by rolling over an alias.
Used so that the "age" of an index doesn't get reset on rollover.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateRolloverLifecycleDateStep(Step.StepKey key, Step.StepKey nextStepKey, LongSupplier fallbackTimeSupplier) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanIndicates if the step can be automatically retried when it encounters an execution error.performAction(Index index, ProjectState projectState) 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
-
UpdateRolloverLifecycleDateStep
public UpdateRolloverLifecycleDateStep(Step.StepKey key, Step.StepKey nextStepKey, LongSupplier fallbackTimeSupplier)
-
-
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
-
performAction
- Specified by:
performActionin classClusterStateActionStep
-
hashCode
public int hashCode() -
equals
-