All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.engine.evaluator.EvaluationContext Maven / Gradle / Ivy

The newest version!
package io.split.engine.evaluator;

import io.split.storages.SegmentCacheConsumer;

import static com.google.common.base.Preconditions.checkNotNull;

public class EvaluationContext {
    private final Evaluator _evaluator;
    private final SegmentCacheConsumer _segmentCacheConsumer;

    public EvaluationContext(Evaluator evaluator, SegmentCacheConsumer segmentCacheConsumer) {
        _evaluator = checkNotNull(evaluator);
        _segmentCacheConsumer = checkNotNull(segmentCacheConsumer);
    }

    public Evaluator getEvaluator() {
        return _evaluator;
    }

    public SegmentCacheConsumer getSegmentCache() {
        return _segmentCacheConsumer;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy