Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Acquire this lock to perform mass changes. More...
#include <RankManager.h>
Public Member Functions | |
cMassChangeLock (cRankManager &a_RankManager) | |
~cMassChangeLock () | |
Protected Attributes | |
cCSLock | m_Lock |
SQLite::Transaction | m_Transaction |
Acquire this lock to perform mass changes.
Improves performance by wrapping everything into a transaction. Makes sure that no other thread is accessing the DB.
Definition at line 30 of file RankManager.h.
|
inline |
Definition at line 33 of file RankManager.h.
|
inline |
Definition at line 39 of file RankManager.h.
|
protected |
Definition at line 45 of file RankManager.h.
|
protected |
Definition at line 46 of file RankManager.h.