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 View.AggregationWindow
View.AggregationWindow.Cumulative, View.AggregationWindow.Interval -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final View.AggregationWindow.CumulativeDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Deprecated.Constructs a cumulativeAggregationWindowthat does not have an explicitDuration.final <T> Tmatch(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 cumulativeAggregationWindowthat does not have an explicitDuration. Instead, cumulativeAggregationWindowalways 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.AggregationWindowApplies the given match function to the underlying data type.- Specified by:
matchin classView.AggregationWindow
-
Views will be cumulative.