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

Method instrument_mode

datafusion-cli/src/object_storage/instrumented.rs:793–795  ·  view source on GitHub ↗

Returns the current [`InstrumentedObjectStoreMode`] for this [`InstrumentedObjectStoreRegistry`]

(&self)

Source from the content-addressed store, hash-verified

791 /// Returns the current [`InstrumentedObjectStoreMode`] for this
792 /// [`InstrumentedObjectStoreRegistry`]
793 pub fn instrument_mode(&self) -> InstrumentedObjectStoreMode {
794 self.instrument_mode.load(Ordering::Relaxed).into()
795 }
796
797 /// Sets the [`InstrumentedObjectStoreMode`] for this [`InstrumentedObjectStoreRegistry`]
798 pub fn set_instrument_mode(&self, mode: InstrumentedObjectStoreMode) {

Callers 1

write_outputMethod · 0.80

Calls 2

intoMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected