memoryscope.core.storage.dummy_monitor

class memoryscope.core.storage.dummy_monitor.DummyMonitor(**kwargs)[源代码]

基类:BaseMonitor

DummyMonitor serves as a placeholder or mock class extending BaseMonitor, providing empty method bodies for 'add', 'add_token', and 'close' operations. This can be used for testing or in situations where a full monitor implementation is not required.

add()[源代码]

Placeholder for adding data to the monitor. This method currently does nothing.

add_token()[源代码]

Placeholder for adding a token to the monitored data. This method currently does nothing.

close()[源代码]

Placeholder for closing the monitor and performing any necessary cleanup. This method currently does nothing.