Package io.opencensus.stats
Class View.AggregationWindow.Cumulative
- java.lang.Object
-
- io.opencensus.stats.View.AggregationWindow
-
- io.opencensus.stats.View.AggregationWindow.Cumulative
-
- Direct Known Subclasses:
AutoValue_View_AggregationWindow_Cumulative
- Enclosing class:
- View.AggregationWindow
@Deprecated @Immutable public abstract static class View.AggregationWindow.Cumulative extends View.AggregationWindow
Deprecated.since 0.13. In the future allView
s will be cumulative.Cumulative (infinite interval) timeAggregationWindow
.- Since:
- 0.8
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.stats.View.AggregationWindow
View.AggregationWindow.Cumulative, View.AggregationWindow.Interval
-
-
Field Summary
Fields Modifier and Type Field Description private static View.AggregationWindow.Cumulative
CUMULATIVE
Deprecated.
-
Constructor Summary
Constructors Constructor Description Cumulative()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static View.AggregationWindow.Cumulative
create()
Deprecated.Constructs a cumulativeAggregationWindow
that does not have an explicitDuration
.<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.
-
-
-
Field Detail
-
CUMULATIVE
private static final View.AggregationWindow.Cumulative CUMULATIVE
Deprecated.
-
-
Method Detail
-
create
public static View.AggregationWindow.Cumulative create()
Deprecated.Constructs a cumulativeAggregationWindow
that does not have an explicitDuration
. Instead, cumulativeAggregationWindow
always has an interval of infiniteDuration
.- Returns:
- a cumulative
AggregationWindow
. - Since:
- 0.8
-
match
public final <T> T match(Function<? super View.AggregationWindow.Cumulative,T> p0, Function<? super View.AggregationWindow.Interval,T> p1, Function<? super View.AggregationWindow,T> defaultFunction)
Deprecated.Description copied from class:View.AggregationWindow
Applies the given match function to the underlying data type.- Specified by:
match
in classView.AggregationWindow
-
-