Package io.opencensus.stats
Class View.AggregationWindow
- java.lang.Object
-
- io.opencensus.stats.View.AggregationWindow
-
- Direct Known Subclasses:
View.AggregationWindow.Cumulative
,View.AggregationWindow.Interval
- Enclosing class:
- View
@Deprecated @Immutable public abstract static class View.AggregationWindow extends java.lang.Object
Deprecated.since 0.13. In the future allView
s will be cumulative.The time window for aView
.- Since:
- 0.8
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
View.AggregationWindow.Cumulative
Deprecated.since 0.13.static class
View.AggregationWindow.Interval
Deprecated.since 0.13.
-
Constructor Summary
Constructors Modifier Constructor Description private
AggregationWindow()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract <T> T
match(Function<? super View.AggregationWindow.Cumulative,T> p0, Function<? super View.AggregationWindow.Interval,T> p1, Function<? super View.AggregationWindow,T> defaultFunction)
Deprecated.Applies the given match function to the underlying data type.
-
-
-
Method Detail
-
match
public abstract <T> T match(Function<? super View.AggregationWindow.Cumulative,T> p0, Function<? super View.AggregationWindow.Interval,T> p1, Function<? super View.AggregationWindow,T> defaultFunction)
Deprecated.Applies the given match function to the underlying data type.- Since:
- 0.8
-
-