Class TimeseriesSearcher


  • public class TimeseriesSearcher
    extends Object
    • Constructor Detail

    • Method Detail

      • buildCache

        protected void buildCache​(Set<org.opennms.integration.api.v1.timeseries.Metric> metrics)
        We opt to make a single call to the TimeseriesStorage implementation to retrieve all resources for that node in one sweep, cache all the results, and build cache results for for resources bellow a node
        Parameters:
        metrics -
      • search

        public Set<org.opennms.integration.api.v1.timeseries.Metric> search​(ResourcePath path,
                                                                            int depth)
                                                                     throws org.opennms.integration.api.v1.timeseries.StorageException
        Throws:
        org.opennms.integration.api.v1.timeseries.StorageException