Class TimeWindowAggregator.SnapshotSlidingWindow
java.lang.Object
org.apache.dubbo.metrics.aggregate.SlidingWindow<TimeWindowAggregator.SnapshotObservation>
org.apache.dubbo.metrics.aggregate.TimeWindowAggregator.SnapshotSlidingWindow
- Enclosing class:
TimeWindowAggregator
public static class TimeWindowAggregator.SnapshotSlidingWindow
extends SlidingWindow<TimeWindowAggregator.SnapshotObservation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewEmptyValue(long timeMillis) Create a new statistic value for pane.Methods inherited from class org.apache.dubbo.metrics.aggregate.SlidingWindow
currentPane, currentPane, getIntervalInMs, getPaneIntervalInMs, getPaneValue, isPaneDeprecated, isPaneDeprecated, list, list, values, values
-
Constructor Details
-
SnapshotSlidingWindow
public SnapshotSlidingWindow(int sampleCount, long intervalInMs)
-
-
Method Details
-
newEmptyValue
Description copied from class:SlidingWindowCreate a new statistic value for pane.- Specified by:
newEmptyValuein classSlidingWindow<TimeWindowAggregator.SnapshotObservation>- Parameters:
timeMillis- the specified timestamp in milliseconds.- Returns:
- new empty statistic value.
-