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

org.streamingpool.ext.analysis.modules.BufferedAnalysisModule Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2017 European Organisation for Nuclear Research (CERN), All Rights Reserved.
 */

package org.streamingpool.ext.analysis.modules;

import org.streamingpool.ext.analysis.dsl.OngoingBufferedStrategy;
import org.streamingpool.ext.tensorics.evaluation.BufferedEvaluation;
import org.streamingpool.ext.tensorics.evaluation.BufferedEvaluation.Builder;

public abstract class BufferedAnalysisModule extends StreamBasedAnalysisModule {

    public BufferedAnalysisModule() {
        super(BufferedEvaluation.builder());
    }

    protected OngoingBufferedStrategy buffered() {
        throwIfStrategySpecifiedTwice();
        return new OngoingBufferedStrategy(getEvaluationStrategyBuilder());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy