Class MetaTagDataLoader
- java.lang.Object
-
- com.google.common.cache.CacheLoader<CollectionResource,java.util.Set<org.opennms.integration.api.v1.timeseries.Tag>>
-
- org.opennms.netmgt.timeseries.samplewrite.MetaTagDataLoader
-
public class MetaTagDataLoader extends com.google.common.cache.CacheLoader<CollectionResource,java.util.Set<org.opennms.integration.api.v1.timeseries.Tag>>
Loads meta data from OpenNMS, to be exposed to the TimeseriesStorage. This data is not relevant for the operation of OpenNMS but can be used to enrich the data in the timeseries database to be used externally.
-
-
Constructor Summary
Constructors Constructor Description MetaTagDataLoader(NodeDao nodeDao, SessionUtils sessionUtils, EntityScopeProvider entityScopeProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.opennms.integration.api.v1.timeseries.Tag>
load(CollectionResource resource)
void
setConfig(MetaTagConfiguration config)
-
-
-
Constructor Detail
-
MetaTagDataLoader
@Inject public MetaTagDataLoader(NodeDao nodeDao, SessionUtils sessionUtils, EntityScopeProvider entityScopeProvider)
-
-
Method Detail
-
setConfig
public void setConfig(MetaTagConfiguration config)
-
load
public java.util.Set<org.opennms.integration.api.v1.timeseries.Tag> load(CollectionResource resource)
- Specified by:
load
in classcom.google.common.cache.CacheLoader<CollectionResource,java.util.Set<org.opennms.integration.api.v1.timeseries.Tag>>
-
-