com.caucho.health.analysis
Class AnomalyAnalyzer

java.lang.Object
  extended by com.caucho.health.analysis.AnomalyAnalyzer
All Implemented Interfaces:
HealthAnalyzer

public class AnomalyAnalyzer
extends java.lang.Object
implements HealthAnalyzer


Constructor Summary
AnomalyAnalyzer()
           
 
Method Summary
 HealthStatus analyze()
           
protected  HealthStatus analyzeImpl()
           
 java.lang.String getLastMessage()
           
 Meter getMeter()
           
 long getMinSamples()
           
 java.lang.String getName()
           
 double getSigmaThreshold()
           
 void init()
           
 void setHealthEvent(java.lang.String name)
           
 void setMeter(java.lang.String name)
           
 void setMeterBean(Meter meter)
           
 void setMeterName(java.lang.String name)
           
 void setMinSamples(long minSamples)
           
 void setName(java.lang.String name)
           
 void setSigmaThreshold(double sigmaThreshold)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnomalyAnalyzer

public AnomalyAnalyzer()
Method Detail

setMeterName

@Configurable
public void setMeterName(java.lang.String name)

setMeter

@Configurable
public void setMeter(java.lang.String name)

setMeterBean

@Configurable
public void setMeterBean(Meter meter)

getMeter

public Meter getMeter()

getName

public java.lang.String getName()
Specified by:
getName in interface HealthAnalyzer

setName

public void setName(java.lang.String name)

setHealthEvent

public void setHealthEvent(java.lang.String name)

setMinSamples

public void setMinSamples(long minSamples)

getMinSamples

public long getMinSamples()

setSigmaThreshold

public void setSigmaThreshold(double sigmaThreshold)

getSigmaThreshold

public double getSigmaThreshold()

init

@PostConstruct
public void init()

start

public void start()
Specified by:
start in interface HealthAnalyzer

analyze

public HealthStatus analyze()
Specified by:
analyze in interface HealthAnalyzer

analyzeImpl

protected HealthStatus analyzeImpl()

getLastMessage

public java.lang.String getLastMessage()
Specified by:
getLastMessage in interface HealthAnalyzer