Class TimeseriesPersistOperationBuilder

    • Constructor Detail

      • TimeseriesPersistOperationBuilder

        public TimeseriesPersistOperationBuilder​(TimeseriesWriter writer,
                                                 RrdRepository repository,
                                                 ResourceIdentifier resource,
                                                 java.lang.String groupName,
                                                 java.util.Set<org.opennms.integration.api.v1.timeseries.Tag> configuredAdditionalMetaTags,
                                                 com.codahale.metrics.MetricRegistry metricRegistry)
    • Method Detail

      • persistStringAttribute

        public void persistStringAttribute​(ResourcePath path,
                                           java.lang.String key,
                                           java.lang.String value)
        Persists a String attribute that is associated to a ResourcePath (resourceId)
      • persistStringAttributeForMetricLevel

        public void persistStringAttributeForMetricLevel​(ResourcePath path,
                                                         java.lang.String metricName,
                                                         java.lang.String key,
                                                         java.lang.String value)
        Persists a String attribute that is associated to a Metric (resourceId & name)
      • getSamplesToInsert

        public java.util.List<org.opennms.integration.api.v1.timeseries.Sample> getSamplesToInsert()
      • setTimeKeeper

        public void setTimeKeeper​(TimeKeeper timeKeeper)

        setTimeKeeper

        Parameters:
        timeKeeper - a TimeKeeper object.