memoryscope.core.storage.base_monitor
- class memoryscope.core.storage.base_monitor.BaseMonitor(**kwargs)[source]
Bases:
object
An abstract base class defining the interface for monitor classes. Subclasses should implement the methods defined here to provide concrete monitoring behavior.
- abstract add()[source]
Abstract method to add data or events to the monitor. This method should be implemented by subclasses to define how data is added into the monitoring system.
- Returns:
None
- abstract add_token()[source]
Abstract method to add a token or a specific type of identifier to the monitor. Subclasses should implement this to specify how tokens are managed within the monitoring context.
- Returns:
None