A repository to hold a monitor instance in the memory This is useful for testing purposes, or just simple management If you need persistence you should go with the LocalStorageMonitorRepository
Gets a specific monitor by key
The key of the monitor
the monitor instance, or null if not found
Gets all stored monitors
the monitor instances
Inserts a monitor, if not exists already
If monitor already stored
The monitor instance
Removes a monitor
If no monitor with given key is stored, the method does nothing
The monitors key
A repository to hold a monitor instance in the memory This is useful for testing purposes, or just simple management If you need persistence you should go with the LocalStorageMonitorRepository