Class TriggeredEvaluation
- java.lang.Object
-
- org.streamingpool.ext.tensorics.evaluation.TriggeredEvaluation
-
- All Implemented Interfaces:
EvaluationStrategy
public class TriggeredEvaluation extends java.lang.Object implements EvaluationStrategy
If this evaluation strategy is used, then the analysis is evaluated every time when a special trigger appears. This strategy to use only the direct values of the used streams. For example, no explicit buffering can be performed for the analysis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggeredEvaluation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TriggeredEvaluation.Builderbuilder()static TriggeredEvaluationtriggeredBy(org.streamingpool.core.service.StreamId<?> triggeringStreamId)Factory method which requires oneStreamIdwhich can trigger a respective analysis.org.streamingpool.core.service.StreamId<?>triggeringStreamId()
-
-
-
Method Detail
-
triggeredBy
public static TriggeredEvaluation triggeredBy(org.streamingpool.core.service.StreamId<?> triggeringStreamId)
Factory method which requires oneStreamIdwhich can trigger a respective analysis.- Parameters:
triggeringStreamId- the stream which will trigger the analysis- Throws:
java.lang.NullPointerException- if the the given id isnull
-
triggeringStreamId
public org.streamingpool.core.service.StreamId<?> triggeringStreamId()
-
builder
public static TriggeredEvaluation.Builder builder()
-
-