java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncActionStep
org.elasticsearch.xpack.core.ilm.AsyncRetryDuringSnapshotActionStep
org.elasticsearch.xpack.core.ilm.ShrinkSetAliasStep
Following shrinking an index and deleting the original index, this step creates an alias with the same name as the original index which
points to the new shrunken index to allow clients to continue to use the original index name without being aware that it has shrunk.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShrinkSetAliasStep(Step.StepKey key, Step.StepKey nextStepKey, Client client) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIndicates if the step can be automatically retried when it encounters an execution error.voidperformDuringNoSnapshot(IndexMetadata indexMetadata, ClusterState currentState, ActionListener<Void> listener) Methods inherited from class org.elasticsearch.xpack.core.ilm.AsyncRetryDuringSnapshotActionStep
performActionMethods inherited from class org.elasticsearch.xpack.core.ilm.AsyncActionStep
getClientMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ShrinkSetAliasStep
-
-
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
-
performDuringNoSnapshot
public void performDuringNoSnapshot(IndexMetadata indexMetadata, ClusterState currentState, ActionListener<Void> listener) -
indexSurvives
public boolean indexSurvives()- Overrides:
indexSurvivesin classAsyncActionStep
-