Interface Statistic

All Superinterfaces:
Serializable
All Known Subinterfaces:
OrderedStatistic
All Known Implementing Classes:
BaseStatistic, CountStatistic, ExpressionStatistic, HistogramStatistic, MaxStatistic, MeanStatistic, MedianStatistic, MinStatistic, SumStatistic, TP75Statistic, TP90Statistic, TP95Statistic, TP99p9Statistic, TP99Statistic, TPStatistic

public interface Statistic extends Serializable
Interface for a statistic calculator.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io)
  • Method Details

    • getName

      String getName()
      Accessor for the name of the statistic.
      Returns:
      The name of the statistic.
    • getAliases

      Set<String> getAliases()
      Accessor for any aliases of the statistic.
      Returns:
      The aliases of the statistic.
    • createCalculator

      Calculator<?> createCalculator()
      Create a Calculator for this statistic.
      Returns:
      The new Calculator instance.
    • getDependencies

      Set<Statistic> getDependencies()
      Accessor for any dependencies.
      Returns:
      The Set of Statistic dependencies.