public class Snapshot extends Object
Constructor and Description |
---|
Snapshot(Duration timeWindow,
double min,
double mean,
double stdDev,
double max,
PercentileValue[] percentileValues) |
Modifier and Type | Method and Description |
---|---|
double |
getMax() |
double |
getMean()
Returns the mean value for the time window in this snapshot.
|
double |
getMin()
Returns the minimum value encountered within the time window in this snapshot.
|
PercentileValue[] |
getPercentileValues()
Return an array of
percentile values . |
double |
getStdDev() |
Duration |
getTimeWindow()
Returns the timewindow configuration for this snapshot.
|
public Snapshot(Duration timeWindow, double min, double mean, double stdDev, double max, PercentileValue[] percentileValues)
public Duration getTimeWindow()
Snapshot
.public double getMin()
public double getMean()
public double getStdDev()
public double getMax()
public PercentileValue[] getPercentileValues()
percentile values
. These value are non-aggregable across dimensions.Copyright © 2018 WSO2. All rights reserved.