Class MeanStatistic
java.lang.Object
com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
com.arpnetworking.metrics.mad.model.statistics.MeanStatistic
- All Implemented Interfaces:
Statistic
,Serializable
Takes the mean 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
Calculator computing the average. -
Method Summary
Modifier and TypeMethodDescriptionCreate aCalculator
for this statistic.Accessor for any dependencies.getName()
Accessor for the name of the statistic.Methods inherited from class com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
assertUnit, equals, getAliases, 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.
-
getDependencies
Description copied from interface:Statistic
Accessor for any dependencies.- Specified by:
getDependencies
in interfaceStatistic
- Overrides:
getDependencies
in classBaseStatistic
- Returns:
- The
Set
ofStatistic
dependencies.
-