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.
Cumulative (infinite interval) time
AggregationWindow
.- 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
FieldsModifier and TypeFieldDescriptionprivate static final View.AggregationWindow.Cumulative
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Deprecated.Constructs a cumulativeAggregationWindow
that does not have an explicitDuration
.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.Applies the given match function to the underlying data type.
-
Field Details
-
CUMULATIVE
Deprecated.
-
-
Constructor Details
-
Cumulative
Cumulative()Deprecated.
-
-
Method Details
-
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
-
View
s will be cumulative.