Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class SetSingleNodeAllocateStep
java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncActionStep
org.elasticsearch.xpack.core.ilm.SetSingleNodeAllocateStep
Allocates all shards in a single index to one node.
For example, as preparation for shrinking that index.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSetSingleNodeAllocateStep(Step.StepKey key, Step.StepKey nextStepKey, Client client) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the step can be automatically retried when it encounters an execution error.voidperformAction(IndexMetadata indexMetadata, ProjectState currentState, ClusterStateObserver observer, ActionListener<Void> listener) Methods inherited from class org.elasticsearch.xpack.core.ilm.AsyncActionStep
getClient, indexSurvivesMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SetSingleNodeAllocateStep
-
-
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
public void performAction(IndexMetadata indexMetadata, ProjectState currentState, ClusterStateObserver observer, ActionListener<Void> listener) - Specified by:
performActionin classAsyncActionStep
-