java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.AsyncActionStep
org.elasticsearch.xpack.core.ilm.DownsampleStep
ILM step that invokes the downsample action for an index using a
DateHistogramInterval. The downsample
index name is retrieved from the lifecycle state LifecycleExecutionState.downsampleIndexName()
index. If a downsample index with the same name has been already successfully created, this step
will be skipped.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDownsampleStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, DateHistogramInterval fixedInterval, org.elasticsearch.core.TimeValue waitTimeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.elasticsearch.core.TimeValueinthashCode()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
-
DownsampleStep
public DownsampleStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, DateHistogramInterval fixedInterval, org.elasticsearch.core.TimeValue waitTimeout)
-
-
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, ClusterState currentState, ClusterStateObserver observer, ActionListener<Void> listener) - Specified by:
performActionin classAsyncActionStep
-
getFixedInterval
-
getWaitTimeout
public org.elasticsearch.core.TimeValue getWaitTimeout() -
hashCode
public int hashCode() -
equals
-