Class TotalCalculator<T>
java.lang.Object
kieker.analysis.statistics.calculating.AbstractCalculator<T>
kieker.analysis.statistics.calculating.TotalCalculator<T>
- Type Parameters:
T
- Type of elements
public class TotalCalculator<T> extends AbstractCalculator<T>
- Since:
- 1.14
- Author:
- Sören Henning
-
Constructor Summary
Constructors Constructor Description TotalCalculator(java.lang.String propertyName, java.util.function.Function<T,java.lang.Long> valueAccessor)
-
Method Summary
Modifier and Type Method Description void
calculate(StatisticRecord statistic, T input, org.eclipse.emf.ecore.EObject modelObject)
Methods inherited from class kieker.analysis.statistics.calculating.AbstractCalculator
getPropertyName
-
Constructor Details
-
TotalCalculator
public TotalCalculator(java.lang.String propertyName, java.util.function.Function<T,java.lang.Long> valueAccessor)
-
-
Method Details
-
calculate
public void calculate(StatisticRecord statistic, T input, org.eclipse.emf.ecore.EObject modelObject)- Specified by:
calculate
in classAbstractCalculator<T>
- Parameters:
statistic
- the statistic record to processinput
- the input to be processedmodelObject
- the associated model object
-