Package io.opencensus.implcore.stats
Class MeasureToViewMap
java.lang.Object
io.opencensus.implcore.stats.MeasureToViewMap
A class that stores a singleton map from
MeasureName
s to MutableViewData
s.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap
<String, MutableViewData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
filterExportedViews
(Collection<View> allViews) getMetrics
(Clock clock, CurrentState.State state) private MutableViewData
getMutableViewData
(View.Name viewName) (package private) ViewData
getView
(View.Name viewName, Clock clock, CurrentState.State state) (package private) void
record
(TagContext tags, MeasureMapInternal stats, Timestamp timestamp) (package private) void
registerView
(View view, Clock clock) Enable stats collection for the givenView
.(package private) void
-
Field Details
-
mutableMap
-
registeredViews
-
registeredMeasures
-
exportedViews
-
-
Constructor Details
-
MeasureToViewMap
MeasureToViewMap()
-
-
Method Details
-
getView
-
getExportedViews
-
filterExportedViews
-
registerView
Enable stats collection for the givenView
. -
getMutableViewData
-
record
-
getMetrics
-
clearStats
void clearStats() -
resumeStatsCollection
-