@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
SQLException
public void storeUncached(Collection<MetaData> metaDataCollection) throws SQLException
SQLException
public Map<String,String> getForResourcePath(ResourcePath path) throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageException
Copyright © 2020. All rights reserved.