Class TrafficAnalyzerRunnable

java.lang.Object
org.wso2.carbon.diagnostics.trafficanalyzer.TrafficAnalyzerRunnable
All Implemented Interfaces:
Runnable

public class TrafficAnalyzerRunnable extends Object implements Runnable
This class is responsible for analyzing the traffic of the server.
  • Constructor Details

    • TrafficAnalyzerRunnable

      public TrafficAnalyzerRunnable(String pid, int windowSize, int delay, String attribute)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • update

      public void update(int newDataPoint)
    • getThreshold

      public Double getThreshold()
    • detectAnomalies

      public Boolean detectAnomalies(int newData)