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

Method setValue

lib/cpp/test/processor/Handlers.h:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 ChildHandler(const std::shared_ptr<EventLog>& log) : ParentHandler(log), value_(0) {}
150
151 int32_t setValue(const int32_t value) override {
152 concurrency::Guard g(mutex_);
153 log_->append(EventLog::ET_CALL_SET_VALUE, 0, 0);
154
155 int32_t oldValue = value_;
156 value_ = value;
157 return oldValue;
158 }
159
160 int32_t getValue() override {
161 concurrency::Guard g(mutex_);

Callers 3

setPropertyValueMethod · 0.45
testChildServiceFunction · 0.45
testSeparateConnectionsFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected