View
s will be cumulative.@Deprecated @Immutable public abstract static class View.AggregationWindow.Cumulative extends View.AggregationWindow
AggregationWindow
.View.AggregationWindow.Cumulative, View.AggregationWindow.Interval
Modifier and Type | Method and Description |
---|---|
static View.AggregationWindow.Cumulative |
create()
Deprecated.
Constructs a cumulative
AggregationWindow that does not have an explicit Duration . |
<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.
|
public static View.AggregationWindow.Cumulative create()
AggregationWindow
that does not have an explicit Duration
. Instead, cumulative AggregationWindow
always has an interval of infinite
Duration
.AggregationWindow
.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)
View.AggregationWindow
match
in class View.AggregationWindow