HomeSort by relevance Sort by last modified time
    Searched refs:MutableViewData (Results 1 - 5 of 5) sorted by null

  /external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
MeasureToViewMap.java 47 /** A class that stores a singleton map from {@code MeasureName}s to {@link MutableViewData}s. */
56 private final Multimap<String, MutableViewData> mutableMap =
57 HashMultimap.<String, MutableViewData>create();
73 MutableViewData view = getMutableViewData(viewName);
122 mutableMap.put(view.getMeasure().getName(), MutableViewData.create(view, now));
126 private synchronized MutableViewData getMutableViewData(View.Name viewName) {
131 Collection<MutableViewData> views = mutableMap.get(view.getMeasure().getName());
132 for (MutableViewData viewData : views) {
157 Collection<MutableViewData> viewDataCollection = mutableMap.get(measure.getName());
158 for (MutableViewData viewData : viewDataCollection)
    [all...]
MutableViewData.java 61 abstract class MutableViewData {
67 private MutableViewData(View view) {
72 * Constructs a new {@link MutableViewData}.
74 * @param view the {@code View} linked with this {@code MutableViewData}.
76 * @return a {@code MutableViewData}.
78 static MutableViewData create(final View view, final Timestamp start) {
83 Functions.<MutableViewData>throwAssertionError());
98 /** Convert this {@link MutableViewData} to {@link ViewData}. */
108 private static final class CumulativeMutableViewData extends MutableViewData {
220 private static final class IntervalMutableViewData extends MutableViewData {
    [all...]
  /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
MutableViewDataTest.java 26 /** Tests for {@link MutableViewData}. */
32 assertThat(MutableViewData.ZERO_TIMESTAMP).isEqualTo(Timestamp.create(0, 0));
StatsTestUtil.java 20 import static io.opencensus.implcore.stats.MutableViewData.ZERO_TIMESTAMP;
StatsRecorderImplTest.java 20 import static io.opencensus.implcore.stats.MutableViewData.ZERO_TIMESTAMP;

Completed in 260 milliseconds