MCPcopy Create free account
hub / github.com/apache/datafusion / unregister

Method unregister

datafusion/execution/src/memory_pool/pool.rs:213–218  ·  view source on GitHub ↗
(&self, consumer: &MemoryConsumer)

Source from the content-addressed store, hash-verified

211 }
212
213 fn unregister(&self, consumer: &MemoryConsumer) {
214 if consumer.can_spill {
215 let mut state = self.state.lock();
216 state.num_spill = state.num_spill.checked_sub(1).unwrap();
217 }
218 }
219
220 fn grow(&self, reservation: &MemoryReservation, additional: usize) {
221 let mut state = self.state.lock();

Callers

nothing calls this directly

Calls 2

idMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected