Class NewtsFetchStrategyProvider
- java.lang.Object
-
- org.opennms.netmgt.measurements.impl.NewtsFetchStrategyProvider
-
- All Implemented Interfaces:
MeasurementFetchStrategyProvider
public class NewtsFetchStrategyProvider extends Object implements MeasurementFetchStrategyProvider
Provides a reference to theNewtsFetchStrategy
when using the 'newts' time-series series strategy.- Author:
- jwhite
-
-
Field Summary
Fields Modifier and Type Field Description static String
NEWTS_TIME_SERIES_STRATEGY_NAME
-
Constructor Summary
Constructors Constructor Description NewtsFetchStrategyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends MeasurementFetchStrategy>
getStrategyClass(String timeSeriesStrategyName, String rrdStrategyClass)
Returns a reference to an implementation ofMeasurementFetchStrategy
that supports retrieving measurements for the given Time Series / RRD Strategy.
-
-
-
Field Detail
-
NEWTS_TIME_SERIES_STRATEGY_NAME
public static final String NEWTS_TIME_SERIES_STRATEGY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStrategyClass
public Class<? extends MeasurementFetchStrategy> getStrategyClass(String timeSeriesStrategyName, String rrdStrategyClass)
Description copied from interface:MeasurementFetchStrategyProvider
Returns a reference to an implementation ofMeasurementFetchStrategy
that supports retrieving measurements for the given Time Series / RRD Strategy.- Specified by:
getStrategyClass
in interfaceMeasurementFetchStrategyProvider
- Parameters:
timeSeriesStrategyName
- name of the time series strategyrrdStrategyClass
- canonical name of theRrdStrategy
implementation- Returns:
- null or a reference to a supported implementation
-
-