Class CountStatistic
java.lang.Object
com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
com.arpnetworking.metrics.mad.model.statistics.CountStatistic
- All Implemented Interfaces:
Statistic
,Serializable
Counts the entries. Use
StatisticFactory
for construction.- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreate aCalculator
for this statistic.Accessor for any aliases of the statistic.getName()
Accessor for the name of the statistic.Methods inherited from class com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
assertUnit, equals, getDependencies, hashCode, toString
-
Method Details
-
getName
Description copied from interface:Statistic
Accessor for the name of the statistic.- Returns:
- The name of the statistic.
-
getAliases
Description copied from interface:Statistic
Accessor for any aliases of the statistic.- Specified by:
getAliases
in interfaceStatistic
- Overrides:
getAliases
in classBaseStatistic
- Returns:
- The aliases of the statistic.
-
createCalculator
Description copied from interface:Statistic
Create aCalculator
for this statistic.- Returns:
- The new
Calculator
instance.
-