Package be.cylab.mark.detection
Class Counter
- java.lang.Object
-
- be.cylab.mark.detection.Counter
-
- All Implemented Interfaces:
DetectionAgentInterface
public final class Counter extends Object implements DetectionAgentInterface
A simple data counter. This detector counts the number of data records corresponding to this label, subject and time window. Takes only one parameter:time_window
in seconds (default 3600 - 1h)
--- class_name: be.cylab.mark.detection.Counter label: detection.2h.count trigger_label: data parameters: { time_window : 7200 }
- Author:
- Thibault Debatty
-
-
Constructor Summary
Constructors Constructor Description Counter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
analyze(Event event, DetectionAgentProfile profile, ClientWrapperInterface datastore)
-
-
-
Method Detail
-
analyze
public void analyze(Event event, DetectionAgentProfile profile, ClientWrapperInterface datastore) throws Throwable
- Specified by:
analyze
in interfaceDetectionAgentInterface
- Throws:
Throwable
-
-