Interface KeepInfo

    • Method Detail

      • getBuildsCount

        int getBuildsCount()
        The count of all builds to clean (for all keep levels).
      • getHistoryBuildsIds

        @NotNull
        gnu.trove.set.TLongSet getHistoryBuildsIds​(@NotNull
                                                   KeepLevel keepLevel)
        Provides such history builds ids that should be kept with keep level keepLevel.
      • getStatisticalBuildsIdsToRemove

        @NotNull
        gnu.trove.set.TLongSet getStatisticalBuildsIdsToRemove()
        Provides statistical builds ids to remove (from removed_builds_history & light_history tables).
      • getHistoryBuildsIdsSorted

        @NotNull
        List<Long> getHistoryBuildsIdsSorted​(@NotNull
                                             KeepLevel keepLevel)
        Provides sorted in natural order such history builds ids that should be kept with keep level keepLevel.
      • getStatisticalBuildsIdsToRemoveSorted

        @NotNull
        List<Long> getStatisticalBuildsIdsToRemoveSorted()
        Provides sorted in natural order statistical builds ids to remove (from removed_builds_history & light_history tables).