Class StreamingAggregationBucket
java.lang.Object
com.arpnetworking.clusteraggregator.aggregation.StreamingAggregationBucket
Container class that holds aggregation pending records.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompute()
Computes all of the statistics in the bucket.boolean
isSpecified
(Statistic statistic) Looks up aStatistic
to see if it is user specified.void
update
(CombinedMetricData datum) AddCombinedMetricData
instance.
-
Constructor Details
-
StreamingAggregationBucket
Public constructor.- Parameters:
periodStart
- Start of the period for the bucket.
-
-
Method Details
-
getPeriodStart
-
compute
Computes all of the statistics in the bucket.- Returns:
- a Map of the statistics.
-
isSpecified
Looks up aStatistic
to see if it is user specified.- Parameters:
statistic
- the statistic to lookup- Returns:
- true if the statistic is user specified, otherwise false
-
getMinRequestTime
-
update
AddCombinedMetricData
instance.- Parameters:
datum
- TheCombinedMetricData
instance.
-