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