Package org.opennms.netmgt.rrd
Class RrdStrategyFactory
- java.lang.Object
-
- org.opennms.netmgt.rrd.RrdStrategyFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class RrdStrategyFactory extends Object implements org.springframework.context.ApplicationContextAware
Constructs the appropriate RRD strategy based on the configured system properties. Optionally wraps the strategy with a queue and/or outputs the metrics to a TCP stream.
-
-
Constructor Summary
Constructors Constructor Description RrdStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <D,F>
RrdStrategy<D,F>getStrategy()
getStrategyvoid
setApplicationContext(org.springframework.context.ApplicationContext context)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context)
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
getStrategy
public <D,F> RrdStrategy<D,F> getStrategy()
getStrategy
- Returns:
- a
RrdStrategy
object.
-
-