Class ClusterStateActionStep

java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateActionStep
Direct Known Subclasses:
BranchingStep, CopyExecutionStateStep, CopySettingsStep, DownsamplePrepareLifeCycleStateStep, GenerateSnapshotNameStep, GenerateUniqueIndexNameStep, InitializePolicyContextStep, ReplaceDataStreamBackingIndexStep, UpdateRolloverLifecycleDateStep

public abstract class ClusterStateActionStep extends Step
Updates the cluster state, similar to ClusterStateUpdateTask.
  • Constructor Details

  • Method Details

    • performAction

      public abstract ClusterState performAction(Index index, ClusterState clusterState)
    • indexForAsyncInvocation

      public org.elasticsearch.core.Tuple<String,Step.StepKey> indexForAsyncInvocation()
      Returns a tuple of index name to step key for an index *other* than the index ILM is currently processing. This is used when a new index is spawned by ILM and its initial action needs to be to invoked in the event that it is an AsyncActionStep.