|
KiCad PCB EDA Suite
|
What a backend reports, and what it does with its connection, when a worker call did not complete. More...
#include <db_backend_support.h>
Public Types | |
| enum class | CONNECTION { KEEP , DROP , FORGET } |
Public Attributes | |
| DB_FAILURE | failure |
| std::string | message |
| CONNECTION | connection |
What a backend reports, and what it does with its connection, when a worker call did not complete.
Definition at line 47 of file db_backend_support.h.
|
strong |
| Enumerator | |
|---|---|
| KEEP | Nothing ran, so the connection is intact. |
| DROP | The connection is closed through the worker. |
| FORGET | The stuck job releases the connection itself when its blocked call returns. |
Definition at line 49 of file db_backend_support.h.
| CONNECTION DB_WORKER_FAILURE::connection |
Definition at line 58 of file db_backend_support.h.
Referenced by ACE_BACKEND::runOnWorker(), and SQLITE_BACKEND::runOnWorker().
| DB_FAILURE DB_WORKER_FAILURE::failure |
Definition at line 56 of file db_backend_support.h.
Referenced by ACE_BACKEND::closeSpentSessions(), ACE_BACKEND::runOnWorker(), and SQLITE_BACKEND::runOnWorker().
| std::string DB_WORKER_FAILURE::message |
Definition at line 57 of file db_backend_support.h.
Referenced by ACE_BACKEND::closeSpentSessions(), ACE_BACKEND::runOnWorker(), and SQLITE_BACKEND::runOnWorker().