InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for DeadlockMgr activities. More...
#include <Message.h>
Classes | |
struct | deadlock_s |
MessageDeadlock POD (serializable by memcpy) data members. More... | |
Public Member Functions | |
MessageDeadlock () | |
virtual | ~MessageDeadlock () |
size_t | size () |
get Message size More... | |
string * | ser () |
create string with serialized message More... | |
void | package (class SerializedMessage &serobj) |
serialize this More... | |
void | unpack (SerializedMessage &serobj) |
deserialize into this More... | |
void | clear () |
clear contents of this More... | |
Public Attributes | |
deadlock_s | deadlockStruct |
std::string | deadlockNode |
newDeadLockLists_s | nodes |
Additional Inherited Members |
MessageDeadlock::MessageDeadlock | ( | ) |
Definition at line 336 of file Message.cc.
References Message::messageStruct, PAYLOADDEADLOCK, and Message::message_s::payloadtype.
|
virtual |
Definition at line 341 of file Message.cc.
void MessageDeadlock::clear | ( | ) |
clear contents of this
Definition at line 380 of file Message.cc.
References Message::clear(), deadlockNode, deadlockStruct, and nodes.
void MessageDeadlock::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 364 of file Message.cc.
References deadlockNode, deadlockStruct, nodes, Message::package(), and SerializedMessage::ser().
Referenced by ser().
string * MessageDeadlock::ser | ( | ) |
create string with serialized message
Definition at line 352 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageDeadlock::size | ( | ) |
get Message size
Definition at line 345 of file Message.cc.
References deadlockNode, deadlockStruct, nodes, SerializedMessage::sersize(), and Message::size().
void MessageDeadlock::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 372 of file Message.cc.
References deadlockNode, deadlockStruct, SerializedMessage::des(), nodes, and Message::unpack().
Referenced by Message::des().
std::string MessageDeadlock::deadlockNode |
Definition at line 368 of file Message.h.
Referenced by Transaction::checkLock(), Transaction::checkSqlLock(), clear(), DeadlockMgr::DeadlockMgr(), package(), size(), and unpack().
deadlock_s MessageDeadlock::deadlockStruct |
Definition at line 367 of file Message.h.
Referenced by Transaction::abortCmd(), Transaction::checkLock(), Transaction::checkSqlLock(), clear(), DeadlockMgr::deadlock(), Transaction::deadlockAbort(), DeadlockMgr::DeadlockMgr(), package(), size(), TransactionAgent::TransactionAgent(), and unpack().
newDeadLockLists_s MessageDeadlock::nodes |
Definition at line 369 of file Message.h.
Referenced by Transaction::checkLock(), Transaction::checkSqlLock(), clear(), DeadlockMgr::DeadlockMgr(), package(), size(), and unpack().