Class TimeseriesLifecycleType

java.lang.Object
org.elasticsearch.xpack.core.ilm.TimeseriesLifecycleType
All Implemented Interfaces:
NamedWriteable, Writeable, LifecycleType

public class TimeseriesLifecycleType extends Object implements LifecycleType
Represents the lifecycle of an index from creation to deletion. A TimeseriesLifecycleType is made up of a set of Phases which it will move through. Soon we will constrain the phases using some kinda of lifecycle type which will allow only particular Phases to be defined, will dictate the order in which the Phases are executed and will define which LifecycleActions are allowed in each phase.
  • Field Details

    • INSTANCE

      public static final TimeseriesLifecycleType INSTANCE
    • TYPE

      public static final String TYPE
      See Also:
    • ORDERED_VALID_PHASES

      public static final List<String> ORDERED_VALID_PHASES
    • ORDERED_VALID_HOT_ACTIONS

      public static final List<String> ORDERED_VALID_HOT_ACTIONS
    • ORDERED_VALID_WARM_ACTIONS

      public static final List<String> ORDERED_VALID_WARM_ACTIONS
    • ORDERED_VALID_COLD_ACTIONS

      public static final List<String> ORDERED_VALID_COLD_ACTIONS
    • ORDERED_VALID_FROZEN_ACTIONS

      public static final List<String> ORDERED_VALID_FROZEN_ACTIONS
    • ORDERED_VALID_DELETE_ACTIONS

      public static final List<String> ORDERED_VALID_DELETE_ACTIONS
    • READ_ONLY_ACTIONS

      public static final Set<String> READ_ONLY_ACTIONS
      We define the following actions as read-only, because either they explicitly set an index to be read-only (read-only, downsample, searchable snapshot, shrink) or adding data during their operation could be tricky, like force-merge. Finally, delete is also considered a read-only operation because any data that would be added would be removed asap. These actions are used to determine if we will create a new past backing index in a TSDB to cover documents with older timestamps than the time frame covered by existing indices.
    • ACTIONS_CANNOT_FOLLOW_SEARCHABLE_SNAPSHOT

      public static final Set<String> ACTIONS_CANNOT_FOLLOW_SEARCHABLE_SNAPSHOT
  • Method Details