Package org.opennms.netmgt.dao.support
Class RrdStatisticAttributeVisitor
- java.lang.Object
-
- org.opennms.netmgt.dao.support.RrdStatisticAttributeVisitor
-
- All Implemented Interfaces:
AttributeVisitor
,org.springframework.beans.factory.InitializingBean
public class RrdStatisticAttributeVisitor extends java.lang.Object implements AttributeVisitor, org.springframework.beans.factory.InitializingBean
RrdStatisticAttributeVisitor class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description RrdStatisticAttributeVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetjava.lang.String
getConsolidationFunction()
getConsolidationFunctionjava.lang.Long
getEndTime()
getEndTimeMeasurementFetchStrategy
getFetchStrategy()
java.lang.Long
getStartTime()
getStartTimeAttributeStatisticVisitor
getStatisticVisitor()
getStatisticVisitorvoid
setConsolidationFunction(java.lang.String consolidationFunction)
setConsolidationFunctionvoid
setEndTime(java.lang.Long endTime)
setEndTimevoid
setFetchStrategy(MeasurementFetchStrategy fetchStrategy)
void
setStartTime(java.lang.Long startTime)
setStartTimevoid
setStatisticVisitor(AttributeStatisticVisitor statisticVisitor)
setStatisticVisitorvoid
visit(OnmsAttribute attribute)
visit
-
-
-
Method Detail
-
visit
public void visit(OnmsAttribute attribute)
visit
- Specified by:
visit
in interfaceAttributeVisitor
- Parameters:
attribute
- aOnmsAttribute
object.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- See Also:
InitializingBean.afterPropertiesSet()
-
getFetchStrategy
public MeasurementFetchStrategy getFetchStrategy()
-
setFetchStrategy
public void setFetchStrategy(MeasurementFetchStrategy fetchStrategy)
-
getStatisticVisitor
public AttributeStatisticVisitor getStatisticVisitor()
getStatisticVisitor
- Returns:
- a
AttributeStatisticVisitor
object.
-
setStatisticVisitor
public void setStatisticVisitor(AttributeStatisticVisitor statisticVisitor)
setStatisticVisitor
- Parameters:
statisticVisitor
- aAttributeStatisticVisitor
object.
-
getConsolidationFunction
public java.lang.String getConsolidationFunction()
getConsolidationFunction
- Returns:
- a
String
object.
-
setConsolidationFunction
public void setConsolidationFunction(java.lang.String consolidationFunction)
setConsolidationFunction
- Parameters:
consolidationFunction
- aString
object.
-
getEndTime
public java.lang.Long getEndTime()
getEndTime
- Returns:
- a
Long
object.
-
setEndTime
public void setEndTime(java.lang.Long endTime)
setEndTime
- Parameters:
endTime
- aLong
object.
-
getStartTime
public java.lang.Long getStartTime()
getStartTime
- Returns:
- a
Long
object.
-
setStartTime
public void setStartTime(java.lang.Long startTime)
setStartTime
- Parameters:
startTime
- aLong
object.
-
-