MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / dropped_count

Method dropped_count

crates/data-structures/src/object_pool.rs:106–108  ·  view source on GitHub ↗

Returns the number of pages dropped by the pool because the pool was at capacity.

(&self)

Source from the content-addressed store, hash-verified

104
105 /// Returns the number of pages dropped by the pool because the pool was at capacity.
106 pub fn dropped_count(&self) -> usize {
107 self.inner.dropped_count.load(Ordering::Relaxed)
108 }
109
110 /// Returns the number of fresh objects allocated through the pool.
111 pub fn new_allocated_count(&self) -> usize {

Callers 3

fmtMethod · 0.80
spawn_page_pool_statsFunction · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected