Package org.aksw.iguana.rp.metrics.impl
Class AvgQPSMetric
- java.lang.Object
-
- org.aksw.iguana.rp.metrics.AbstractMetric
-
- org.aksw.iguana.rp.metrics.impl.QPSMetric
-
- org.aksw.iguana.rp.metrics.impl.AvgQPSMetric
-
- All Implemented Interfaces:
Metric
@Shorthand("AvgQPS") public class AvgQPSMetric extends QPSMetric
Calculates the average queries per second
-
-
Constructor Summary
Constructors Constructor Description AvgQPSMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
This method will be called, as soon as the associated Experiment Task is finished.-
Methods inherited from class org.aksw.iguana.rp.metrics.impl.QPSMetric
receiveData
-
Methods inherited from class org.aksw.iguana.rp.metrics.AbstractMetric
getDescription, getMetricProperty, getName, getShortName, getStorageManager, getSubject, getTaskResource, sendData, setMetaData, setStorageManager
-
-
-
-
Method Detail
-
close
public void close()
Description copied from interface:Metric
This method will be called, as soon as the associated Experiment Task is finished. Not all metrics are available for each test. Hence it should be implemented if the Metric cannot calculate the test results that it will just close itself without adding results. TheMetricManager
will try to close the Metric still, thus it should be checked if that was the case.
-
-