persistentstorage/sql/SRC/Server/Compact/SqlCompactTimer.h
branchRCL_3
changeset 10 31a8f755b7fe
parent 9 667e88a979d7
equal deleted inserted replaced
9:667e88a979d7 10:31a8f755b7fe
    34 (the databases).
    34 (the databases).
    35 The class offers methods for adding/removing CSqlCompactEntry objects to/from the queue and a Restart()
    35 The class offers methods for adding/removing CSqlCompactEntry objects to/from the queue and a Restart()
    36 method that can be used to delay the next compaction step, improving this way the SQL server responsiveness to 
    36 method that can be used to delay the next compaction step, improving this way the SQL server responsiveness to 
    37 client requests.
    37 client requests.
    38 
    38 
    39 The CSqlCompactEntry objects needed compaction will be added at the front of the queue.
    39 The CSqlCompactEntry objects needing compaction will be added at the front of the queue.
    40 Every time when timer's RunL() method gets executed, the last element from the queue will be picked-up and one
    40 Every time when timer's RunL() method gets executed, the last element from the queue will be picked-up and one
    41 compaction step will be performed. When the CSqlCompactEntry object completes the compaction, it will remove
    41 compaction step will be performed. When the CSqlCompactEntry object completes the compaction, it will remove
    42 itself from the queue.
    42 itself from the queue.
    43 
    43 
    44 @see CSqlCompactEntry
    44 @see CSqlCompactEntry