Class IntervalBucket
java.lang.Object
io.opencensus.implcore.stats.IntervalBucket
The bucket with aggregated
MeasureValues used for IntervalViewData.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Aggregationprivate final Durationprivate final Measureprivate final Timestampprivate final Map<List<TagValue>, MutableAggregation> private static final Duration -
Constructor Summary
ConstructorsConstructorDescriptionIntervalBucket(Timestamp start, Duration duration, Aggregation aggregation, Measure measure) -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) doublegetFraction(Timestamp now) (package private) TimestampgetStart()(package private) Map<List<TagValue>, MutableAggregation> (package private) voidrecord(List<TagValue> tagValues, double value, Map<String, AttachmentValue> attachments, Timestamp timestamp)
-
Field Details
-
ZERO
-
start
-
duration
-
aggregation
-
measure
-
tagValueAggregationMap
-
-
Constructor Details
-
IntervalBucket
IntervalBucket(Timestamp start, Duration duration, Aggregation aggregation, Measure measure)
-
-
Method Details
-
getTagValueAggregationMap
Map<List<TagValue>, MutableAggregation> getTagValueAggregationMap() -
getStart
Timestamp getStart() -
record
-
getFraction
-
clearStats
void clearStats()
-