Akonadi::Server::StorageJanitor
#include <storagejanitor.h>
Signals | |
Q_SCRIPTABLE void | done () |
Q_SCRIPTABLE void | information (const QString &msg) |
Public Slots | |
Q_SCRIPTABLE Q_NOREPLY void | check () |
Q_SCRIPTABLE Q_NOREPLY void | vacuum () |
Public Member Functions | |
StorageJanitor (DbConfig *config) | |
Protected Member Functions | |
StorageJanitor (AkonadiServer *mAkonadi, DbConfig *config=DbConfig::configuredDatabase()) | |
void | init () override |
void | quit () override |
Detailed Description
Various database checking/maintenance features.
Definition at line 25 of file storagejanitor.h.
Constructor & Destructor Documentation
◆ StorageJanitor() [1/2]
|
explicitprotected |
Use AkThread::create() to create and start a new StorageJanitor thread.
Definition at line 51 of file storagejanitor.cpp.
◆ StorageJanitor() [2/2]
|
explicit |
Use AkThread::create() to run StorageJanitor in a separate thread.
Only use this constructor if you want to run StorageJanitor in the current thread.
Definition at line 59 of file storagejanitor.cpp.
◆ ~StorageJanitor()
|
override |
Definition at line 68 of file storagejanitor.cpp.
Member Function Documentation
◆ check
|
slot |
Triggers a consistency check of the internal storage.
Definition at line 139 of file storagejanitor.cpp.
◆ information
|
signal |
Sends informational messages to a possible UI for this.
◆ init()
|
overrideprotected |
Definition at line 73 of file storagejanitor.cpp.
◆ quit()
|
overrideprotected |
Definition at line 89 of file storagejanitor.cpp.
◆ vacuum
|
slot |
Triggers a vacuuming of the database, that is compacting of unused space.
Definition at line 716 of file storagejanitor.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.