org.streamingpool.ext.analysis.modules.BufferedAnalysisModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of streamingpool-ext-analysis Show documentation
Show all versions of streamingpool-ext-analysis Show documentation
This project is an analysis pakage for streamingpool.
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());
}
}