#include <translist.h>
|
| ReturnCode | Insert (uint32_t key, Desc *desc, uint8_t opid, Node *&inserted, Node *&pred) |
| |
| ReturnCode | Delete (uint32_t key, Desc *desc, uint8_t opid, Node *&deleted, Node *&pred) |
| |
| ReturnCode | Find (uint32_t key, Desc *desc, uint8_t opid) |
| |
| void | HelpOps (Desc *desc, uint8_t opid) |
| |
| bool | IsSameOperation (NodeDesc *nodeDesc1, NodeDesc *nodeDesc2) |
| |
| void | FinishPendingTxn (NodeDesc *nodeDesc, Desc *desc) |
| |
| bool | IsNodeExist (Node *node, uint32_t key) |
| |
| bool | IsNodeActive (NodeDesc *nodeDesc) |
| |
| bool | IsKeyExist (NodeDesc *nodeDesc) |
| |
| void | LocatePred (Node *&pred, Node *&curr, uint32_t key) |
| |
| void | MarkForDeletion (const std::vector< Node * > &nodes, const std::vector< Node * > &preds, Desc *desc) |
| |
| void | Print () |
| |
| | ASSERT_CODE (uint32_t g_count=0;uint32_t g_count_ins=0;uint32_t g_count_ins_new=0;uint32_t g_count_del=0;uint32_t g_count_del_new=0;uint32_t g_count_fnd=0;) uint32_t g_count_commit=0 |
| |
| Enumerator |
|---|
| ACTIVE |
|
| COMMITTED |
|
| ABORTED |
|
| Enumerator |
|---|
| FIND |
|
| INSERT |
|
| DELETE |
|
| TransList::~TransList |
( |
| ) |
|
| TransList::ASSERT_CODE |
( |
uint32_t |
g_count = 0;uint32_t g_count_ins=0;uint32_t g_count_ins_new=0;uint32_t g_count_del=0;uint32_t g_count_del_new=0;uint32_t g_count_fnd=0; | ) |
|
|
privatepure virtual |
| bool TransList::ExecuteOps |
( |
Desc * |
desc | ) |
|
| void TransList::FinishPendingTxn |
( |
NodeDesc * |
nodeDesc, |
|
|
Desc * |
desc |
|
) |
| |
|
inlineprivate |
| void TransList::HelpOps |
( |
Desc * |
desc, |
|
|
uint8_t |
opid |
|
) |
| |
|
inlineprivate |
| bool TransList::IsKeyExist |
( |
NodeDesc * |
nodeDesc | ) |
|
|
inlineprivate |
| bool TransList::IsNodeActive |
( |
NodeDesc * |
nodeDesc | ) |
|
|
inlineprivate |
| bool TransList::IsNodeExist |
( |
Node * |
node, |
|
|
uint32_t |
key |
|
) |
| |
|
inlineprivate |
| void TransList::LocatePred |
( |
Node *& |
pred, |
|
|
Node *& |
curr, |
|
|
uint32_t |
key |
|
) |
| |
|
inlineprivate |
| void TransList::MarkForDeletion |
( |
const std::vector< Node * > & |
nodes, |
|
|
const std::vector< Node * > & |
preds, |
|
|
Desc * |
desc |
|
) |
| |
|
inlineprivate |
| void TransList::Print |
( |
| ) |
|
|
inlineprivate |
| uint32_t TransList::g_count_abort = 0 |
|
private |
| uint32_t TransList::g_count_fake_abort = 0 |
|
private |
The documentation for this class was generated from the following files: