Package org.aksw.iguana.cc.tasks.impl
Class StresstestResultProcessor
java.lang.Object
org.aksw.iguana.cc.tasks.impl.StresstestResultProcessor
-
Constructor Summary
ConstructorDescriptionStresstestResultProcessor
(String suiteID, long taskID, List<HttpWorker> worker, List<String> queryIDs, List<Metric> metrics, List<Storage> storages, Supplier<Map<LanguageProcessor, List<LanguageProcessor.LanguageProcessingData>>> lpResults) -
Method Summary
Modifier and TypeMethodDescriptionvoid
calculateAndSaveMetrics
(Calendar start, Calendar end) This method calculates the metrics and creates the RDF model of the result, which will be sent to the storages.void
process
(Collection<HttpWorker.Result> data) This method stores the given query executions statistics from a worker to their appropriate data location.
-
Constructor Details
-
StresstestResultProcessor
public StresstestResultProcessor(String suiteID, long taskID, List<HttpWorker> worker, List<String> queryIDs, List<Metric> metrics, List<Storage> storages, Supplier<Map<LanguageProcessor, List<LanguageProcessor.LanguageProcessingData>>> lpResults)
-
-
Method Details
-
process
This method stores the given query executions statistics from a worker to their appropriate data location.- Parameters:
data
- the query execution statistics that should be stored
-
calculateAndSaveMetrics
This method calculates the metrics and creates the RDF model of the result, which will be sent to the storages. It uses the given data that was passed with the 'processQueryExecutions' method.- Parameters:
start
- the start date of the taskend
- the end date of the task
-