public interface MeasurementFetchStrategyProvider
MeasurementFetchStrategy
implementation is represented
by MeasurementFetchStrategyProvider
, which can be used to determine
whether or not it can fetch measurements for a given Time Series / RRD strategy
combo.
The MeasurementFetchStrategyProvider
allows us to determine which (fetch) strategy
to use, without needed to actually instantiate the implementation classes, since these may have
dependencies which are not available on the current class-path.Modifier and Type | Method and Description |
---|---|
Class<? extends MeasurementFetchStrategy> |
getStrategyClass(String timeSeriesStrategyName,
String rrdStrategyClass)
Returns a reference to an implementation of
MeasurementFetchStrategy
that supports retrieving measurements for the given Time Series / RRD Strategy. |
Class<? extends MeasurementFetchStrategy> getStrategyClass(String timeSeriesStrategyName, String rrdStrategyClass)
MeasurementFetchStrategy
that supports retrieving measurements for the given Time Series / RRD Strategy.timeSeriesStrategyName
- name of the time series strategyrrdStrategyClass
- canonical name of the RrdStrategy
implementationCopyright © 2021. All rights reserved.