Interface DenormalisedSpaceChangeLogDao

  • All Known Implementing Classes:
    DenormalisedSpaceChangeLogDaoImpl

    public interface DenormalisedSpaceChangeLogDao
    DAO for retrieving and updating space change log records
    Since:
    7.10.0
    • Method Detail

      • removeAllSpaceChangeLogRecords

        void removeAllSpaceChangeLogRecords()
        Removes all space change log records. It must not call truncate because it lock the entire table.
      • removeSpaceChangeLogRecords

        void removeSpaceChangeLogRecords​(List<DenormalisedSpaceChangeLog> processedRecords)
        Removed space change log records
        Parameters:
        processedRecords - log records to remove
      • findSpaceChangeLogRecords

        List<DenormalisedSpaceChangeLog> findSpaceChangeLogRecords​(int limit)
        Retrieves a list of space change log records sorted by id.
        Parameters:
        limit - - limit of records
        Returns:
        list of change log records
      • saveRecord

        void saveRecord​(DenormalisedSpaceChangeLog log)
        Saves a record for testing purpose.
        Parameters:
        log - space change log
      • getAllChangedSpaceIds

        List<Long> getAllChangedSpaceIds()
        Returns:
        all changed space ids from space change log
        Since:
        7.12.1