Package org.opennms.netmgt.rrd.model.v3
Class Parameters
- java.lang.Object
-
- org.opennms.netmgt.rrd.model.v3.Parameters
-
public class Parameters extends Object
The Class RRA Parameters.- param.hwpredict: hw_alpha, hw_beta, dependent_rra_idx
- param.seasonal: seasonal_gamma, seasonal_smooth_idx, smoothing_window?, dependent_rra_idx
- param.failures: delta_pos, delta_neg, window_len, failure_threshold
- param.devpredict: dependent_rra_idx
- param.avg_min_max: xff
- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getDeltaNeg()
Gets the delta negative.Double
getDeltaPos()
Gets the delta position.Long
getDependentRraIdx()
Gets the dependent RRA index.Long
getFailureThreshold()
Gets the failure threshold.Double
getHwAlpha()
Gets the hw alpha.Double
getHwBeta()
Gets the hw beta.Double
getSeasonalGamma()
Gets the seasonal gamma.Long
getSeasonalSmoothIdx()
Gets the seasonal smooth index.Double
getSmoothingWindow()
Gets the smoothing window.Long
getWindowLen()
Gets the window length.Double
getXff()
Gets the XFF.void
setDeltaNeg(Double deltaNeg)
Sets the delta negative.void
setDeltaPos(Double deltaPos)
Sets the delta position.void
setDependentRraIdx(Long dependentRraIdx)
Sets the dependent RRA index.void
setFailureThreshold(Long failureThreshold)
Sets the failure threshold.void
setHwAlpha(Double hwAlpha)
Sets the hw alpha.void
setHwBeta(Double hwBeta)
Sets the hw beta.void
setSeasonalGamma(Double seasonalGamma)
Sets the seasonal gamma.void
setSeasonalSmoothIdx(Long seasonalSmoothIdx)
Sets the seasonal smooth index.void
setSmoothingWindow(Double smoothingWindow)
Sets the smoothing window.void
setWindowLen(Long windowLen)
Sets the window length.void
setXff(Double xff)
Sets the XFF.
-
-
-
Method Detail
-
getDeltaNeg
public Double getDeltaNeg()
Gets the delta negative.- Returns:
- the delta negative
-
setDeltaNeg
public void setDeltaNeg(Double deltaNeg)
Sets the delta negative.- Parameters:
deltaNeg
- the new delta negative
-
getDeltaPos
public Double getDeltaPos()
Gets the delta position.- Returns:
- the delta position
-
setDeltaPos
public void setDeltaPos(Double deltaPos)
Sets the delta position.- Parameters:
deltaPos
- the new delta position
-
getDependentRraIdx
public Long getDependentRraIdx()
Gets the dependent RRA index.- Returns:
- the dependent RRA index
-
setDependentRraIdx
public void setDependentRraIdx(Long dependentRraIdx)
Sets the dependent RRA index.- Parameters:
dependentRraIdx
- the new dependent RRA index
-
getFailureThreshold
public Long getFailureThreshold()
Gets the failure threshold.- Returns:
- the failure threshold
-
setFailureThreshold
public void setFailureThreshold(Long failureThreshold)
Sets the failure threshold.- Parameters:
failureThreshold
- the new failure threshold
-
getHwAlpha
public Double getHwAlpha()
Gets the hw alpha.- Returns:
- the hw alpha
-
setHwAlpha
public void setHwAlpha(Double hwAlpha)
Sets the hw alpha.- Parameters:
hwAlpha
- the new hw alpha
-
getHwBeta
public Double getHwBeta()
Gets the hw beta.- Returns:
- the hw beta
-
setHwBeta
public void setHwBeta(Double hwBeta)
Sets the hw beta.- Parameters:
hwBeta
- the new hw beta
-
getSeasonalGamma
public Double getSeasonalGamma()
Gets the seasonal gamma.- Returns:
- the seasonal gamma
-
setSeasonalGamma
public void setSeasonalGamma(Double seasonalGamma)
Sets the seasonal gamma.- Parameters:
seasonalGamma
- the new seasonal gamma
-
getSeasonalSmoothIdx
public Long getSeasonalSmoothIdx()
Gets the seasonal smooth index.- Returns:
- the seasonal smooth index
-
setSeasonalSmoothIdx
public void setSeasonalSmoothIdx(Long seasonalSmoothIdx)
Sets the seasonal smooth index.- Parameters:
seasonalSmoothIdx
- the new seasonal smooth index
-
getSmoothingWindow
public Double getSmoothingWindow()
Gets the smoothing window.- Returns:
- the smoothing window
-
setSmoothingWindow
public void setSmoothingWindow(Double smoothingWindow)
Sets the smoothing window.- Parameters:
smoothingWindow
- the new smoothing window
-
getWindowLen
public Long getWindowLen()
Gets the window length.- Returns:
- the window length
-
setWindowLen
public void setWindowLen(Long windowLen)
Sets the window length.- Parameters:
windowLen
- the new window length
-
getXff
public Double getXff()
Gets the XFF.XFF The xfiles factor defines what part of a consolidation interval may be made up from *UNKNOWN* data while the consolidated value is still regarded as known. It is given as the ratio of allowed *UNKNOWN* PDPs to the number of PDPs in the interval. Thus, it ranges from 0 to 1 (exclusive).
- Returns:
- the XFF
-
setXff
public void setXff(Double xff)
Sets the XFF.- Parameters:
xff
- the new XFF
-
-