![]() |
InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for Applier activities. More...
#include <Message.h>


Classes | |
| struct | apply_s |
| MessageApply POD (serializable by memcpy) data members. More... | |
| struct | applyindex_s |
Public Member Functions | |
| MessageApply () | |
| MessageApply (int64_t subtransactionidarg, int64_t applieridarg, int64_t domainidarg) | |
| Message variant for Applier activities. More... | |
| virtual | ~MessageApply () |
| 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... | |
Static Public Member Functions | |
| static void | setisaddflag (char *c) |
| set flag for new index entry More... | |
| static char | getisaddflag (char c) |
| get flag for new index entry More... | |
| static void | cleariaddflag (char *c) |
| clear flag for new index entry More... | |
Public Attributes | |
| apply_s | applyStruct |
| std::vector < MessageDispatch::record_s > | rows |
| std::vector< applyindex_s > | indices |
| MessageApply::MessageApply | ( | ) |
Definition at line 658 of file Message.cc.
| MessageApply::MessageApply | ( | int64_t | subtransactionidarg, |
| int64_t | applieridarg, | ||
| int64_t | domainidarg | ||
| ) |
Message variant for Applier activities.
| subtransactionidarg | subtransactionid |
| applieridarg | applierid |
| domainidarg | domainid |
Definition at line 662 of file Message.cc.
|
virtual |
Definition at line 670 of file Message.cc.
| void MessageApply::clear | ( | ) |
clear contents of this
Definition at line 709 of file Message.cc.
References applyStruct, Message::clear(), indices, and rows.

|
static |
clear flag for new index entry
| c | flags |
Definition at line 727 of file Message.cc.
References ADDFLAG.
|
static |
get flag for new index entry
| c | flags |
Definition at line 722 of file Message.cc.
References ADDFLAG.
Referenced by Engine::applyItem().

| void MessageApply::package | ( | class SerializedMessage & | serobj) |
serialize this
| serobj | SerializedMessage |
Definition at line 693 of file Message.cc.
References applyStruct, indices, Message::package(), rows, and SerializedMessage::ser().
Referenced by ser().


| string * MessageApply::ser | ( | ) |
create string with serialized message
Definition at line 681 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.

|
static |
set flag for new index entry
| c | flags |
Definition at line 717 of file Message.cc.
References ADDFLAG.
Referenced by TransactionAgent::handledispatch().

| size_t MessageApply::size | ( | ) |
get Message size
Definition at line 674 of file Message.cc.
References applyStruct, indices, rows, SerializedMessage::sersize(), and Message::size().

| void MessageApply::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
| serobj | SerializedMessage |
Definition at line 701 of file Message.cc.
References applyStruct, SerializedMessage::des(), indices, rows, and Message::unpack().
Referenced by Message::des().


| apply_s MessageApply::applyStruct |
Definition at line 773 of file Message.h.
Referenced by Engine::apply(), Engine::background(), clear(), package(), size(), and unpack().
| std::vector<applyindex_s> MessageApply::indices |
| std::vector<MessageDispatch::record_s> MessageApply::rows |
Definition at line 775 of file Message.h.
Referenced by Engine::apply(), clear(), TransactionAgent::handledispatch(), package(), size(), and unpack().