Interface DataCleaner

    • Method Detail

      • performCleanup

        void performCleanup​(Connection connection,
                            long buildId,
                            CleanupLevel cleanupLevel)
                     throws SQLException
        Deprecated.
        Invoked for each build which is to be cleaned up. At this point data this build_id may be partially deleted, but history entry and test info still exists. Note: DataCleaner is invoked when cleanup is proceeding and it should perform db operations in current thread otherwise deadlock will occur.
        Parameters:
        connection - connection to work on
        buildId - Id of build which data is being cleaned
        cleanupLevel - specifies what data should be cleaned
        Throws:
        SQLException - on database error, it will be logged only.