Class MutableViewData.CumulativeMutableViewData
java.lang.Object
io.opencensus.implcore.stats.MutableViewData
io.opencensus.implcore.stats.MutableViewData.CumulativeMutableViewData
- Enclosing class:
MutableViewData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MetricDescriptorprivate Timestampprivate final Map<List<TagValue>, MutableAggregation> Fields inherited from class MutableViewData
ZERO_TIMESTAMP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidprivate voidThis method attemps to migrate this view into a reasonable state in the event of time going backwards.(package private) voidrecord(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Record stats with the given tags.(package private) void(package private) MetrictoMetric(Timestamp now, CurrentState.State state) (package private) ViewDatatoViewData(Timestamp now, CurrentState.State state) Convert thisMutableViewDatatoViewData.Methods inherited from class MutableViewData
create, getView
-
Field Details
-
start
-
tagValueAggregationMap
-
metricDescriptor
-
-
Constructor Details
-
CumulativeMutableViewData
-
-
Method Details
-
toMetric
- Specified by:
toMetricin classMutableViewData
-
record
void record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Description copied from class:MutableViewDataRecord stats with the given tags.- Specified by:
recordin classMutableViewData
-
toViewData
Description copied from class:MutableViewDataConvert thisMutableViewDatatoViewData.- Specified by:
toViewDatain classMutableViewData
-
handleTimeRewinds
This method attemps to migrate this view into a reasonable state in the event of time going backwards. -
clearStats
void clearStats()- Specified by:
clearStatsin classMutableViewData
-
resumeStatsCollection
- Specified by:
resumeStatsCollectionin classMutableViewData
-