Searched refs:MutableViewData (Results 1 – 5 of 5) sorted by relevance
56 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 …]
61 abstract class MutableViewData { class67 private MutableViewData(View view) { in MutableViewData() method in MutableViewData78 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()
32 assertThat(MutableViewData.ZERO_TIMESTAMP).isEqualTo(Timestamp.create(0, 0)); in testConstants()
20 import static io.opencensus.implcore.stats.MutableViewData.ZERO_TIMESTAMP;