MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / take

Method take

nodedb-cluster/src/rebalancer/driver.rs:280–285  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

278 })
279 }
280 fn take(&self) -> Vec<PlannedMove> {
281 let mut g = self.calls.lock().unwrap();
282 let out = g.clone();
283 g.clear();
284 out
285 }
286 }
287
288 #[async_trait]

Callers 15

text_dataFunction · 0.45
all_byte_valuesFunction · 0.45
sign_packFunction · 0.45
apply_rotationMethod · 0.45
encode_innerMethod · 0.45
dict_encoded_roundtripFunction · 0.45
pushMethod · 0.45
pushMethod · 0.45
dropMethod · 0.45
compute_planFunction · 0.45

Calls 3

lockMethod · 0.80
cloneMethod · 0.45
clearMethod · 0.45

Tested by 5

text_dataFunction · 0.36
all_byte_valuesFunction · 0.36
dict_encoded_roundtripFunction · 0.36