Akonadi::Server::IntervalCheck
#include <intervalcheck.h>
Public Member Functions | |
void | requestCollectionSync (const Collection &collection) |
Protected Member Functions | |
IntervalCheck (ItemRetrievalManager &itemRetrievalManager) | |
void | collectionExpired (const Collection &collection) override |
int | collectionScheduleInterval (const Collection &collection) override |
bool | hasChanged (const Collection &collection, const Collection &changed) override |
bool | shouldScheduleCollection (const Collection &collection) override |
Detailed Description
Interval checking thread.
Definition at line 23 of file intervalcheck.h.
Constructor & Destructor Documentation
◆ IntervalCheck()
|
explicitprotected |
Use AkThread::create() to create and start a new IntervalCheck thread.
Definition at line 18 of file intervalcheck.cpp.
◆ ~IntervalCheck()
|
override |
Definition at line 24 of file intervalcheck.cpp.
Member Function Documentation
◆ collectionExpired()
|
overrideprotected |
Definition at line 56 of file intervalcheck.cpp.
◆ collectionScheduleInterval()
|
overrideprotected |
Definition at line 39 of file intervalcheck.cpp.
◆ hasChanged()
|
overrideprotected |
Definition at line 44 of file intervalcheck.cpp.
◆ requestCollectionSync()
void IntervalCheck::requestCollectionSync | ( | const Collection & | collection | ) |
Requests the given collection to be synced.
Executed from any thread, forwards to triggerCollectionXSync() in the retrieval thread. A minimum time interval between two sync requests is ensured.
Definition at line 29 of file intervalcheck.cpp.
◆ shouldScheduleCollection()
|
overrideprotected |
Definition at line 50 of file intervalcheck.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.