Akonadi::Server::CacheCleaner

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)
explicitprotected

Creates a new cache cleaner thread.

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

Parameters
parentThe parent object.

Definition at line 75 of file cachecleaner.cpp.

◆ ~CacheCleaner()

CacheCleaner::~CacheCleaner ( )
override

Definition at line 81 of file cachecleaner.cpp.

Member Function Documentation

◆ collectionExpired()

void CacheCleaner::collectionExpired ( const Collection & collection)
overrideprotected

Definition at line 105 of file cachecleaner.cpp.

◆ collectionScheduleInterval()

int CacheCleaner::collectionScheduleInterval ( const Collection & collection)
overrideprotected

Definition at line 86 of file cachecleaner.cpp.

◆ hasChanged()

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

Definition at line 91 of file cachecleaner.cpp.

◆ shouldScheduleCollection()

bool CacheCleaner::shouldScheduleCollection ( const Collection & collection)
overrideprotected

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 Tue Mar 26 2024 11:13:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.