MCPcopy Create free account
hub / github.com/dianping/cat / Transaction

Method Transaction

lib/cpp/src/cppcat/transaction.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13namespace cat {
14 Transaction::Transaction(const string& type, const string& name) {
15 trans = newTransaction(type.c_str(), name.c_str());
16 }
17
18 void Transaction::Complete() {
19 T(trans)->complete(T(trans));

Callers 3

serveFunction · 0.80
test2Function · 0.80
test3Function · 0.80

Calls 1

newTransactionFunction · 0.50

Tested by 3

serveFunction · 0.64
test2Function · 0.64
test3Function · 0.64