java.lang.Object
com.arpnetworking.metrics.mad.model.statistics.BaseStatistic
com.arpnetworking.metrics.mad.model.statistics.SumStatistic
All Implemented Interfaces:
Statistic, Serializable

public final class SumStatistic extends BaseStatistic
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:
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Statistic
      Accessor for the name of the statistic.
      Returns:
      The name of the statistic.
    • createCalculator

      public Calculator<Void> createCalculator()
      Description copied from interface: Statistic
      Create a Calculator for this statistic.
      Returns:
      The new Calculator instance.