◆ BdEngineBackendPrivate()
Digikam::BdEngineBackendPrivate::BdEngineBackendPrivate |
( |
BdEngineBackend *const |
backend | ) |
|
|
explicit |
◆ ~BdEngineBackendPrivate()
Digikam::BdEngineBackendPrivate::~BdEngineBackendPrivate |
( |
| ) |
|
|
override |
◆ checkOperationStatus()
bool Digikam::BdEngineBackendPrivate::checkOperationStatus |
( |
| ) |
|
◆ checkRetrySQLiteLockError()
bool Digikam::BdEngineBackendPrivate::checkRetrySQLiteLockError |
( |
int |
retries | ) |
|
◆ closeDatabaseForThread()
void Digikam::BdEngineBackendPrivate::closeDatabaseForThread |
( |
| ) |
|
◆ connectionErrorAbortQueries()
void Digikam::BdEngineBackendPrivate::connectionErrorAbortQueries |
( |
| ) |
|
|
overridevirtual |
◆ connectionErrorContinueQueries()
void Digikam::BdEngineBackendPrivate::connectionErrorContinueQueries |
( |
| ) |
|
|
overridevirtual |
◆ connectionName()
QString Digikam::BdEngineBackendPrivate::connectionName |
( |
| ) |
|
◆ createDatabaseConnection()
QSqlDatabase Digikam::BdEngineBackendPrivate::createDatabaseConnection |
( |
| ) |
|
◆ databaseErrorForThread()
QSqlError Digikam::BdEngineBackendPrivate::databaseErrorForThread |
( |
| ) |
|
◆ databaseForThread()
QSqlDatabase Digikam::BdEngineBackendPrivate::databaseForThread |
( |
| ) |
|
◆ debugOutputFailedQuery()
void Digikam::BdEngineBackendPrivate::debugOutputFailedQuery |
( |
const QSqlQuery & |
query | ) |
const |
◆ debugOutputFailedTransaction()
void Digikam::BdEngineBackendPrivate::debugOutputFailedTransaction |
( |
const QSqlError & |
error | ) |
const |
◆ decrementTransactionCount()
bool Digikam::BdEngineBackendPrivate::decrementTransactionCount |
( |
| ) |
|
◆ handleWithErrorHandler()
bool Digikam::BdEngineBackendPrivate::handleWithErrorHandler |
( |
const DbEngineSqlQuery *const |
query | ) |
|
Returns true if the query shall be retried.
References Digikam::BdEngineBackend::AbortQueries, closeDatabaseForThread(), databaseForThread(), errorHandler, errorLockOperationStatus, Digikam::BdEngineBackend::ExecuteNormal, isConnectionError(), Digikam::DbEngineSqlQuery::lastQuery(), needToConsultUserForError(), operationStatus, setQueryOperationFlag(), Digikam::BdEngineBackend::Wait, and Digikam::BdEngineBackendPrivate::ErrorLocker::wait().
◆ incrementTransactionCount()
bool Digikam::BdEngineBackendPrivate::incrementTransactionCount |
( |
| ) |
|
◆ init()
void Digikam::BdEngineBackendPrivate::init |
( |
const QString & |
connectionName, |
|
|
DbEngineLocking *const |
locking |
|
) |
| |
◆ isConnectionError()
bool Digikam::BdEngineBackendPrivate::isConnectionError |
( |
const DbEngineSqlQuery & |
query | ) |
const |
◆ isInMainThread()
bool Digikam::BdEngineBackendPrivate::isInMainThread |
( |
| ) |
const |
◆ isInUIThread()
bool Digikam::BdEngineBackendPrivate::isInUIThread |
( |
| ) |
const |
◆ isSQLiteLockError()
bool Digikam::BdEngineBackendPrivate::isSQLiteLockError |
( |
const DbEngineSqlQuery & |
query | ) |
const |
◆ isSQLiteLockTransactionError()
bool Digikam::BdEngineBackendPrivate::isSQLiteLockTransactionError |
( |
const QSqlError & |
lastError | ) |
const |
◆ needToConsultUserForError()
bool Digikam::BdEngineBackendPrivate::needToConsultUserForError |
( |
const DbEngineSqlQuery & |
query | ) |
const |
◆ needToHandleWithErrorHandler()
bool Digikam::BdEngineBackendPrivate::needToHandleWithErrorHandler |
( |
const DbEngineSqlQuery & |
query | ) |
const |
◆ queryOperationWakeAll()
◆ reconnectOnError()
bool Digikam::BdEngineBackendPrivate::reconnectOnError |
( |
| ) |
const |
◆ setDatabaseErrorForThread()
void Digikam::BdEngineBackendPrivate::setDatabaseErrorForThread |
( |
const QSqlError & |
lastError | ) |
|
◆ setQueryOperationFlag()
◆ transactionFinished()
void Digikam::BdEngineBackendPrivate::transactionFinished |
( |
| ) |
|
|
virtual |
◆ AbstractUnlocker
◆ backendName
QString Digikam::BdEngineBackendPrivate::backendName |
◆ busyWaitCondVar
QWaitCondition Digikam::BdEngineBackendPrivate::busyWaitCondVar |
◆ busyWaitMutex
QMutex Digikam::BdEngineBackendPrivate::busyWaitMutex |
◆ currentValidity
int Digikam::BdEngineBackendPrivate::currentValidity |
◆ errorHandler
◆ errorLockCondVar
QWaitCondition Digikam::BdEngineBackendPrivate::errorLockCondVar |
◆ errorLockMutex
QMutex Digikam::BdEngineBackendPrivate::errorLockMutex |
◆ errorLockOperationStatus
◆ isInTransaction
bool Digikam::BdEngineBackendPrivate::isInTransaction |
◆ lock
◆ operationStatus
◆ parameters
◆ status
◆ threadDataStorage
The documentation for this class was generated from the following files: