public class AnomalyAnalyzer extends java.lang.Object implements HealthAnalyzer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOG_TYPE |
Constructor and Description |
---|
AnomalyAnalyzer() |
Modifier and Type | Method and Description |
---|---|
HealthStatus |
analyze() |
protected HealthStatus |
analyzeImpl() |
java.lang.String |
getLastMessage() |
double |
getMaxThreshold() |
double |
getMaxValue() |
Meter |
getMeter() |
double |
getMinDeviation() |
long |
getMinSamples() |
double |
getMinThreshold() |
double |
getMinValue() |
java.lang.String |
getName() |
double |
getSigmaThreshold() |
void |
init() |
void |
setHealthEvent(java.lang.String name) |
void |
setMaxThreshold(double value) |
void |
setMaxValue(double value) |
void |
setMeter(java.lang.String name) |
void |
setMeterBean(Meter meter) |
void |
setMeterName(java.lang.String name) |
void |
setMinDeviation(double minDeviation) |
void |
setMinSamples(long minSamples) |
void |
setMinThreshold(double value) |
void |
setMinValue(double value) |
void |
setName(java.lang.String name) |
void |
setSigmaThreshold(double sigmaThreshold) |
void |
start() |
java.lang.String |
toString() |
public static final java.lang.String LOG_TYPE
@Configurable public void setMeterName(java.lang.String name)
@Configurable public void setMeter(java.lang.String name)
@Configurable public void setMeterBean(Meter meter)
public Meter getMeter()
public java.lang.String getName()
getName
in interface HealthAnalyzer
public void setName(java.lang.String name)
@Configurable public void setHealthEvent(java.lang.String name)
@Configurable public void setMinSamples(long minSamples)
public long getMinSamples()
@Configurable public void setMinValue(double value)
public double getMinValue()
@Configurable public void setMaxValue(double value)
public double getMaxValue()
@Configurable public void setSigmaThreshold(double sigmaThreshold)
public double getSigmaThreshold()
public double getMinDeviation()
public void setMinDeviation(double minDeviation)
@Configurable public void setMinThreshold(double value)
@Configurable public double getMinThreshold()
@Configurable public void setMaxThreshold(double value)
@Configurable public double getMaxThreshold()
@PostConstruct public void init()
public void start()
start
in interface HealthAnalyzer
public HealthStatus analyze()
analyze
in interface HealthAnalyzer
protected HealthStatus analyzeImpl()
public java.lang.String getLastMessage()
getLastMessage
in interface HealthAnalyzer
public java.lang.String toString()
toString
in class java.lang.Object