Package io.opencensus.implcore.stats
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 MetricDescriptor
private Timestamp
private final Map
<List<TagValue>, MutableAggregation> Fields inherited from class io.opencensus.implcore.stats.MutableViewData
ZERO_TIMESTAMP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
private void
This method attemps to migrate this view into a reasonable state in the event of time going backwards.(package private) void
record
(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Record stats with the given tags.(package private) void
(package private) Metric
toMetric
(Timestamp now, CurrentState.State state) (package private) ViewData
toViewData
(Timestamp now, CurrentState.State state) Convert thisMutableViewData
toViewData
.Methods inherited from class io.opencensus.implcore.stats.MutableViewData
create, getView
-
Field Details
-
start
-
tagValueAggregationMap
-
metricDescriptor
-
-
Constructor Details
-
CumulativeMutableViewData
-
-
Method Details
-
toMetric
- Specified by:
toMetric
in classMutableViewData
-
record
void record(TagContext context, double value, Timestamp timestamp, Map<String, AttachmentValue> attachments) Description copied from class:MutableViewData
Record stats with the given tags.- Specified by:
record
in classMutableViewData
-
toViewData
Description copied from class:MutableViewData
Convert thisMutableViewData
toViewData
.- Specified by:
toViewData
in 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:
clearStats
in classMutableViewData
-
resumeStatsCollection
- Specified by:
resumeStatsCollection
in classMutableViewData
-