public interface IPersistenceManager extends IModuleManager<IStorageModule<?>>
Management interface for persistent storage modules
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IRecordStorageModule<?>> |
findStorageForSensor(java.lang.String sensorID)
Finds storage modules where the specified sensor data is archived
|
StorageConfig |
getDefaultStorageConfig(java.lang.Class<?> storageClass)
Gets the default config for the specified storage type
|
getAvailableModules, getLoadedModules, getModuleById, isModuleLoaded
java.util.Collection<? extends IRecordStorageModule<?>> findStorageForSensor(java.lang.String sensorID) throws SensorHubException
sensorID
- Local ID of sensor to find existing storage forSensorHubException
StorageConfig getDefaultStorageConfig(java.lang.Class<?> storageClass) throws SensorHubException
storageClass
- Concrete storage classSensorHubException