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 DoublegetDeltaNeg()Gets the delta negative.DoublegetDeltaPos()Gets the delta position.LonggetDependentRraIdx()Gets the dependent RRA index.LonggetFailureThreshold()Gets the failure threshold.DoublegetHwAlpha()Gets the hw alpha.DoublegetHwBeta()Gets the hw beta.DoublegetSeasonalGamma()Gets the seasonal gamma.LonggetSeasonalSmoothIdx()Gets the seasonal smooth index.DoublegetSmoothingWindow()Gets the smoothing window.LonggetWindowLen()Gets the window length.DoublegetXff()Gets the XFF.voidsetDeltaNeg(Double deltaNeg)Sets the delta negative.voidsetDeltaPos(Double deltaPos)Sets the delta position.voidsetDependentRraIdx(Long dependentRraIdx)Sets the dependent RRA index.voidsetFailureThreshold(Long failureThreshold)Sets the failure threshold.voidsetHwAlpha(Double hwAlpha)Sets the hw alpha.voidsetHwBeta(Double hwBeta)Sets the hw beta.voidsetSeasonalGamma(Double seasonalGamma)Sets the seasonal gamma.voidsetSeasonalSmoothIdx(Long seasonalSmoothIdx)Sets the seasonal smooth index.voidsetSmoothingWindow(Double smoothingWindow)Sets the smoothing window.voidsetWindowLen(Long windowLen)Sets the window length.voidsetXff(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
-
-