Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ SetValue
Method
SetValue
be/src/util/metrics.h:195–198 ·
view source on GitHub ↗
Atomically sets the value.
Source
from the content-addressed store, hash-verified
193
194
/// Atomically sets the value.
195
void SetValue(const T& value) {
196
std::lock_guard<SpinLock> l(lock_);
197
value_ = value;
198
}
199
200
protected:
201
/// Guards access to value_.
Callers
5
refresh
Method · 0.45
SetValue
Method · 0.45
InitCommonMetrics
Method · 0.45
Refresh
Method · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.36