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

Method incrementGeneration

lib/cpp/test/TServerIntegrationTest.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 ParentHandler() : generation_(0) {}
107
108 int32_t incrementGeneration() override {
109 Guard g(mutex_);
110 return ++generation_;
111 }
112
113 int32_t getGeneration() override {
114 Guard g(mutex_);

Callers 2

baselineMethod · 0.45
stressorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected