Class SumStatistic
java.lang.Object
com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
com.arpnetworking.metrics.mad.model.statistics.SumStatistic
- All Implemented Interfaces:
Statistic
,Serializable
Takes the sum of the entries. Use
StatisticFactory
for construction.- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io), Ville Koskela (ville dot koskela at inscopemetrics dot io)
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Accumulator computing the sum of values. -
Method Summary
Modifier and TypeMethodDescriptionCreate aCalculator
for this statistic.getName()
Accessor for the name of the statistic.Methods inherited from class com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
assertUnit, equals, getAliases, getDependencies, hashCode, toString
-
Method Details
-
getName
Description copied from interface:Statistic
Accessor for the name of the statistic.- Returns:
- The name of the statistic.
-
createCalculator
Description copied from interface:Statistic
Create aCalculator
for this statistic.- Returns:
- The new
Calculator
instance.
-