@Service public class TimeSeriesMetaDataDao extends Object
| Constructor and Description |
|---|
TimeSeriesMetaDataDao(DataSource dataSource,
long cacheSize,
long cacheDuration) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getForResourcePath(ResourcePath path) |
void |
store(Collection<MetaData> metaDataCollection) |
void |
storeUncached(Collection<MetaData> metaDataCollection) |
@Autowired public TimeSeriesMetaDataDao(DataSource dataSource, @Named(value="timeseries.metadata.cache_size") long cacheSize, @Named(value="timeseries.metadata.cache_duration") long cacheDuration)
public void store(Collection<MetaData> metaDataCollection) throws SQLException
SQLExceptionpublic void storeUncached(Collection<MetaData> metaDataCollection) throws SQLException
SQLExceptionpublic Map<String,String> getForResourcePath(ResourcePath path) throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionCopyright © 2020. All rights reserved.