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

Method last

nodedb/src/control/database/registry.rs:209–211  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

207 }
208
209 fn last(&self) -> Option<u64> {
210 *self.last.lock().unwrap()
211 }
212
213 fn calls(&self) -> u32 {
214 self.calls.load(Ordering::Acquire)

Callers 9

loadMethod · 0.45
percentileMethod · 0.45
rateFunction · 0.45
increaseFunction · 0.45
deltaFunction · 0.45
predict_linearFunction · 0.45
apply_committedMethod · 0.45
apply_committedMethod · 0.45

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected