Class Phase

    • Constructor Detail

      • Phase

        public Phase​(java.lang.String name,
                     TimeValue minimumAge,
                     java.util.Map<java.lang.String,​LifecycleAction> actions)
        Parameters:
        name - the name of this Phase.
        minimumAge - the age of the index when the index should move to this Phase.
        actions - a Map of the LifecycleActions to run when during this Phase. The keys in this map are the associated action names.
    • Method Detail

      • getMinimumAge

        public TimeValue getMinimumAge()
        Returns:
        the age of the index when the index should move to this Phase.
      • getName

        public java.lang.String getName()
        Returns:
        the name of this Phase
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object