Class MinStatistic
java.lang.Object
com.arpnetworking.tsdcore.statistics.BaseStatistic
com.arpnetworking.tsdcore.statistics.MinStatistic
- All Implemented Interfaces:
Statistic
,Serializable
Min statistic (e.g. top 0th percentile). Use
StatisticFactory
for construction.- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Accumulator computing the minimum of values. -
Method Summary
Modifier and TypeMethodDescriptioncalculateAggregations
(List<AggregatedData> aggregations) Compute the statistic from theList
ofAggregatedData
instances.Create 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.tsdcore.statistics.BaseStatistic
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.
-
calculate
Description copied from interface:Statistic
Compute the statistic from theList
ofQuantity
instances. By default theList
of samples is not assumed to be in any particular order. However, anyStatistic
subclass may implement the marker interfaceOrderedStatistic
indicating a requirement to be provided with samples that are sorted from smallest to largest. In all cases the samples are required to be unified into the same unit (or no unit). -
calculateAggregations
Description copied from interface:Statistic
Compute the statistic from theList
ofAggregatedData
instances. By default theList
of samples is not assumed to be in any particular order. However, anyStatistic
subclass may implement the marker interfaceOrderedStatistic
indicating a requirement to be provided with samples that are sorted from smallest to largest. In all cases the samples are required to be unified into the same unit (or no unit).- Parameters:
aggregations
- Aggregations to combine.- Returns:
- Computed statistic value.
-