TrinityCore
TransactionTask Class Reference

#include <Transaction.h>

Static Public Member Functions

static bool Execute (MySQLConnection *conn, std::shared_ptr< TransactionBase > trans)
 

Static Private Member Functions

static int TryExecute (MySQLConnection *conn, std::shared_ptr< TransactionBase > trans)
 

Static Private Attributes

static std::mutex _deadlockLock
 

Detailed Description

Low level class

Definition at line 89 of file Transaction.h.

Member Function Documentation

◆ Execute()

bool TransactionTask::Execute ( MySQLConnection conn,
std::shared_ptr< TransactionBase trans 
)
static

Definition at line 57 of file Transaction.cpp.

+ Here is the caller graph for this function:

◆ TryExecute()

int TransactionTask::TryExecute ( MySQLConnection conn,
std::shared_ptr< TransactionBase trans 
)
staticprivate

Definition at line 93 of file Transaction.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _deadlockLock

std::mutex TransactionTask::_deadlockLock
staticprivate

Definition at line 97 of file Transaction.h.


The documentation for this class was generated from the following files: