Akonadi::Server::DbDeadlockCatcher

Search for usage in LXR

Akonadi::Server::DbDeadlockCatcher Class Reference

#include <dbdeadlockcatcher.h>

Public Member Functions

template<typename Func >
 DbDeadlockCatcher (Func &&func)
 

Detailed Description

This class catches DbDeadlockException (as emitted by QueryBuilder) and retries execution of the method when it happens, as required by SQL databases.

Definition at line 20 of file dbdeadlockcatcher.h.

Constructor & Destructor Documentation

◆ DbDeadlockCatcher()

template<typename Func >
Akonadi::Server::DbDeadlockCatcher::DbDeadlockCatcher ( Func && func)
inlineexplicit

Definition at line 24 of file dbdeadlockcatcher.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:57:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.