Package net.welen.jmole.threshold
Class Threshold
- java.lang.Object
-
- net.welen.jmole.threshold.Threshold
-
public class Threshold extends Object
-
-
Constructor Summary
Constructors Constructor Description Threshold()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcalculateThreshold(String thresholdString, MBeanCollector mbeanCollector, ObjectName objectName, String attribute)StringgetCriticalHighThreshold()StringgetCriticalLowThreshold()Map<String,ThresholdValues>getIndividualThresholds()longgetInterval()StringgetLabel()StringgetMessage()StringgetWarningHighThreshold()StringgetWarningLowThreshold()voidsetAttribute(String attribute)voidsetCriticalHighThreshold(String criticalHighThreshold)voidsetCriticalLowThreshold(String criticalLowThreshold)voidsetIndividualThresholds(Map<String,ThresholdValues> individualThresholdValues)voidsetInterval(long interval)voidsetLabel(String label)voidsetMessage(String message)voidsetWarningHighThreshold(String warningHighThreshold)voidsetWarningLowThreshold(String warningLowThreshold)
-
-
-
Method Detail
-
getCriticalLowThreshold
public String getCriticalLowThreshold()
-
setCriticalLowThreshold
public void setCriticalLowThreshold(String criticalLowThreshold)
-
getCriticalHighThreshold
public String getCriticalHighThreshold()
-
setCriticalHighThreshold
public void setCriticalHighThreshold(String criticalHighThreshold)
-
getWarningLowThreshold
public String getWarningLowThreshold()
-
setWarningLowThreshold
public void setWarningLowThreshold(String warningLowThreshold)
-
getWarningHighThreshold
public String getWarningHighThreshold()
-
setWarningHighThreshold
public void setWarningHighThreshold(String warningHighThreshold)
-
setIndividualThresholds
public void setIndividualThresholds(Map<String,ThresholdValues> individualThresholdValues)
-
getIndividualThresholds
public Map<String,ThresholdValues> getIndividualThresholds()
-
getInterval
public long getInterval()
-
setInterval
public void setInterval(long interval)
-
setAttribute
public void setAttribute(String attribute)
-
setLabel
public void setLabel(String label)
-
getLabel
public String getLabel()
-
setMessage
public void setMessage(String message)
-
getMessage
public String getMessage()
-
calculateThreshold
public static String calculateThreshold(String thresholdString, MBeanCollector mbeanCollector, ObjectName objectName, String attribute) throws InstanceNotFoundException, ReflectionException, AttributeNotFoundException, MBeanException
-
-