Class RolloverResponse

    • Constructor Detail

      • RolloverResponse

        public RolloverResponse​(java.lang.String oldIndex,
                                java.lang.String newIndex,
                                java.util.Map<java.lang.String,​java.lang.Boolean> conditionResults,
                                boolean dryRun,
                                boolean rolledOver,
                                boolean acknowledged,
                                boolean shardsAcknowledged)
    • Method Detail

      • getOldIndex

        public java.lang.String getOldIndex()
        Returns the name of the index that the request alias was pointing to
      • getNewIndex

        public java.lang.String getNewIndex()
        Returns the name of the index that the request alias currently points to
      • getConditionStatus

        public java.util.Map<java.lang.String,​java.lang.Boolean> getConditionStatus()
        Returns the statuses of all the request conditions
      • isDryRun

        public boolean isDryRun()
        Returns if the rollover execution was skipped even when conditions were met
      • isRolledOver

        public boolean isRolledOver()
        Returns true if the rollover was not simulated and the conditions were met