public class StatisticConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StatisticConfig.Builder
Builder for
StatisticConfig . |
Modifier and Type | Field and Description |
---|---|
static StatisticConfig |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static StatisticConfig.Builder |
builder() |
long |
getBuckets()
Get the number of buckets used to implement the sliding time window.
|
Integer |
getPercentilePrecision()
Get the precision to used to maintain on the dynamic range histogram used to compute
percentile approximations.
|
double[] |
getPercentiles()
Get percentiles.
|
Duration |
getTimeWindow()
Get the timeWindow duration.
|
public static final StatisticConfig DEFAULT
public double[] getPercentiles()
StatisticConfig.Builder.percentiles(double...)
public Integer getPercentilePrecision()
public Duration getTimeWindow()
StatisticConfig.Builder.expiry(Duration)
public long getBuckets()
public static StatisticConfig.Builder builder()
Copyright © 2018 WSO2. All rights reserved.