Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/braft
/ Atomic
Method
Atomic
example/atomic/server.cpp:81–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
};
80
81
Atomic()
82
: _node(NULL)
83
, _leader_term(-1)
84
{
85
CHECK_EQ(0, _value_map.init(FLAGS_map_capacity));
86
}
87
88
~Atomic() {
89
delete _node;
Callers
nothing calls this directly
Calls
1
init
Method · 0.45
Tested by
no test coverage detected