Class SegmentCountStep


public class SegmentCountStep extends AsyncWaitStep
This Step evaluates whether force_merge was successful by checking the segment count.
  • Field Details

  • Constructor Details

  • Method Details

    • isRetryable

      public boolean isRetryable()
      Description copied from class: Step
      Indicates if the step can be automatically retried when it encounters an execution error.
      Specified by:
      isRetryable in class Step
    • getMaxNumSegments

      public int getMaxNumSegments()
    • evaluateCondition

      public void evaluateCondition(ProjectState state, Index index, AsyncWaitStep.Listener listener, org.elasticsearch.core.TimeValue masterTimeout)
      Specified by:
      evaluateCondition in class AsyncWaitStep
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Step
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Step