java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncActionStep
org.elasticsearch.xpack.core.ilm.ForceMergeStep
Invokes a force merge on a single index.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForceMergeStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, int maxNumSegments) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanIndicates if the step can be automatically retried when it encounters an execution error.voidperformAction(IndexMetadata indexMetadata, ClusterState 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
getCurrentStepKey, getKey, getNextStepKey, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ForceMergeStep
public ForceMergeStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, int maxNumSegments)
-
-
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
-
getMaxNumSegments
public int getMaxNumSegments() -
performAction
public void performAction(IndexMetadata indexMetadata, ClusterState currentState, ClusterStateObserver observer, ActionListener<Void> listener) - Specified by:
performActionin classAsyncActionStep
-
hashCode
public int hashCode() -
equals
-