Interface DenormalisedSpaceChangeLogDao
-
- All Known Implementing Classes:
DenormalisedSpaceChangeLogDaoImpl
public interface DenormalisedSpaceChangeLogDao
DAO for retrieving and updating space change log records- Since:
- 7.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DenormalisedSpaceChangeLog>
findSpaceChangeLogRecords(int limit)
Retrieves a list of space change log records sorted by id.List<Long>
getAllChangedSpaceIds()
void
removeAllSpaceChangeLogRecords()
Removes all space change log records.void
removeSpaceChangeLogRecords(List<DenormalisedSpaceChangeLog> processedRecords)
Removed space change log recordsvoid
saveRecord(DenormalisedSpaceChangeLog log)
Saves a record for testing purpose.
-
-
-
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
-
-