Package io.split.engine.evaluator
Class EvaluatorImp
- java.lang.Object
-
- io.split.engine.evaluator.EvaluatorImp
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvaluatorImp.TreatmentLabelAndChangeNumber
-
Constructor Summary
Constructors Constructor Description EvaluatorImp(SplitCacheConsumer splitCacheConsumer, SegmentCacheConsumer segmentCache, RuleBasedSegmentCacheConsumer ruleBasedSegmentCacheConsumer, FallbackTreatmentCalculator fallbackTreatmentCalculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluatorImp.TreatmentLabelAndChangeNumberevaluateFeature(String matchingKey, String bucketingKey, String featureFlag, Map<String,Object> attributes)Map<String,EvaluatorImp.TreatmentLabelAndChangeNumber>evaluateFeatures(String matchingKey, String bucketingKey, List<String> featureFlags, Map<String,Object> attributes)Map<String,EvaluatorImp.TreatmentLabelAndChangeNumber>evaluateFeaturesByFlagSets(String key, String bucketingKey, List<String> flagSets, Map<String,Object> attributes)
-
-
-
Constructor Detail
-
EvaluatorImp
public EvaluatorImp(SplitCacheConsumer splitCacheConsumer, SegmentCacheConsumer segmentCache, RuleBasedSegmentCacheConsumer ruleBasedSegmentCacheConsumer, FallbackTreatmentCalculator fallbackTreatmentCalculator)
-
-
Method Detail
-
evaluateFeature
public EvaluatorImp.TreatmentLabelAndChangeNumber evaluateFeature(String matchingKey, String bucketingKey, String featureFlag, Map<String,Object> attributes)
- Specified by:
evaluateFeaturein interfaceEvaluator
-
evaluateFeatures
public Map<String,EvaluatorImp.TreatmentLabelAndChangeNumber> evaluateFeatures(String matchingKey, String bucketingKey, List<String> featureFlags, Map<String,Object> attributes)
- Specified by:
evaluateFeaturesin interfaceEvaluator
-
-