MCPcopy Create free account
hub / github.com/apache/thrift / append

Method append

lib/cpp/test/processor/EventLog.cpp:81–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void EventLog::append(EventType type,
82 uint32_t connectionId,
83 uint32_t callId,
84 const std::string& message) {
85 Synchronized s(monitor_);
86 debug("%d <-- %u, %u, %s \"%s\"", id_, connectionId, callId, type, message.c_str());
87
88 Event e(type, connectionId, callId, message);
89 events_.push_back(e);
90
91 monitor_.notify();
92}
93
94Event EventLog::waitForEvent(int64_t timeout) {
95 Synchronized s(monitor_);

Callers 15

testBinaryMethod · 0.45
incrementGenerationMethod · 0.45
getGenerationMethod · 0.45
addStringMethod · 0.45
getStringsMethod · 0.45
getDataWaitMethod · 0.45
onewayWaitMethod · 0.45
exceptionWaitMethod · 0.45
blockUntilTriggeredMethod · 0.45
setValueMethod · 0.45
getValueMethod · 0.45

Calls 2

debugFunction · 0.85
notifyMethod · 0.45

Tested by

no test coverage detected