java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncWaitStep
org.elasticsearch.xpack.core.ilm.SegmentCountStep
This
Step evaluates whether force_merge was successful by checking the segment count.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.AsyncWaitStep
AsyncWaitStep.ListenerNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSegmentCountStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, int maxNumSegments) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidevaluateCondition(Metadata metadata, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) intinthashCode()booleanIndicates if the step can be automatically retried when it encounters an execution error.Methods inherited from class org.elasticsearch.xpack.core.ilm.AsyncWaitStep
getClientMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
getCurrentStepKey, getKey, getNextStepKey, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SegmentCountStep
public SegmentCountStep(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() -
evaluateCondition
public void evaluateCondition(Metadata metadata, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout) - Specified by:
evaluateConditionin classAsyncWaitStep
-
hashCode
public int hashCode() -
equals
-