MCPcopy Create free account
hub / github.com/ceph/ceph / exists

Method exists

src/mgr/DaemonState.cc:314–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314bool DaemonStateIndex::exists(const DaemonKey &key) const
315{
316 std::shared_lock l{lock};
317
318 return all.count(key) > 0;
319}
320
321DaemonStatePtr DaemonStateIndex::get(const DaemonKey &key)
322{

Callers 12

handle_openMethod · 0.45
handle_updateMethod · 0.45
handle_closeMethod · 0.45
_handle_commandMethod · 0.45
got_service_mapMethod · 0.45
got_mgr_mapMethod · 0.45
ceph_cache_map_eraseMethod · 0.45
finishMethod · 0.45
handle_osd_mapMethod · 0.45
handle_fs_mapMethod · 0.45
handle_command_replyMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected