Description
The MemoryStorageSource is an in memory NoSQL style storage source. Notifications for changes in the database are also supported.
Services Provided
- IStorageSourceService
Service Dependencies
- ICounterStoreService
- IRestApiService
Java File
The module is implemented in net.floodlightcontroller.storage.memory.MemoryStorageSource.
How it works
Other Floodlight modules that depend upon the IStorageSourceService interface can create/delete/modify data in the memory storage source. All data is shared and there is no enforcement. Modules can also register for changes to data in specific tables and rows. Any module that wants to do this should implement the IStorageSourceListener interface.
Limitations
- Since the storage is in memory, one Floodlight is shutdown all state will be lost.
- There is no isolation of data enforced. Even if a module created a table another module can overwrite the data.
Configuration
This module is enabled by default, no extra configuration is needed.
Configuration Options
None.
REST API
None.