Home
last modified time | relevance | path

Searched refs:MutableViewData (Results 1 – 5 of 5) sorted by relevance

/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureToViewMap.java56 private final Multimap<String, MutableViewData> mutableMap =
57 HashMultimap.<String, MutableViewData>create();
73 MutableViewData view = getMutableViewData(viewName); in getView()
122 mutableMap.put(view.getMeasure().getName(), MutableViewData.create(view, now)); in registerView()
126 private synchronized MutableViewData getMutableViewData(View.Name viewName) { in getMutableViewData()
131 Collection<MutableViewData> views = mutableMap.get(view.getMeasure().getName()); in getMutableViewData()
132 for (MutableViewData viewData : views) { in getMutableViewData()
157 Collection<MutableViewData> viewDataCollection = mutableMap.get(measure.getName()); in record()
158 for (MutableViewData viewData : viewDataCollection) { in record()
168 for (Entry<String, MutableViewData> entry : mutableMap.entries()) { in getMetrics()
[all …]
DMutableViewData.java61 abstract class MutableViewData { class
67 private MutableViewData(View view) { in MutableViewData() method in MutableViewData
78 static MutableViewData create(final View view, final Timestamp start) { in create()
83 Functions.<MutableViewData>throwAssertionError()); in create()
108 private static final class CumulativeMutableViewData extends MutableViewData {
220 private static final class IntervalMutableViewData extends MutableViewData {
434 implements Function<View.AggregationWindow.Cumulative, MutableViewData> {
436 public MutableViewData apply(View.AggregationWindow.Cumulative arg) { in apply()
450 implements Function<View.AggregationWindow.Interval, MutableViewData> {
452 public MutableViewData apply(View.AggregationWindow.Interval arg) { in apply()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMutableViewDataTest.java32 assertThat(MutableViewData.ZERO_TIMESTAMP).isEqualTo(Timestamp.create(0, 0)); in testConstants()
DStatsTestUtil.java20 import static io.opencensus.implcore.stats.MutableViewData.ZERO_TIMESTAMP;
DStatsRecorderImplTest.java20 import static io.opencensus.implcore.stats.MutableViewData.ZERO_TIMESTAMP;