Search for usage in LXR

Akonadi::Server::CacheCleaner Class Reference

#include <cachecleaner.h>

Inherits Akonadi::Server::CollectionScheduler.

Protected Member Functions

 CacheCleaner (QObject *parent=nullptr)
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

Cache cleaner.

Definition at line 52 of file cachecleaner.h.

Constructor & Destructor Documentation

◆ CacheCleaner()

CacheCleaner::CacheCleaner ( QObject * parent = nullptr)

Creates a new cache cleaner thread.

Use AkThread::create() to create a new instance of CacheCleaner.

parentThe parent object.

Definition at line 75 of file cachecleaner.cpp.

◆ ~CacheCleaner()

CacheCleaner::~CacheCleaner ( )

Definition at line 81 of file cachecleaner.cpp.

Member Function Documentation

◆ collectionExpired()

void CacheCleaner::collectionExpired ( const Collection & collection)

Definition at line 105 of file cachecleaner.cpp.

◆ collectionScheduleInterval()

int CacheCleaner::collectionScheduleInterval ( const Collection & collection)

Definition at line 86 of file cachecleaner.cpp.

◆ hasChanged()

bool CacheCleaner::hasChanged ( const Collection & collection,
const Collection & changed )

Definition at line 91 of file cachecleaner.cpp.

◆ shouldScheduleCollection()

bool CacheCleaner::shouldScheduleCollection ( const Collection & collection)

Definition at line 97 of file cachecleaner.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:58:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.