public interface Summary extends Metric
| Modifier and Type | Interface and Description |
|---|---|
static class |
Summary.Builder
Builder for
Summarys. |
| Modifier and Type | Method and Description |
|---|---|
static Summary.Builder |
builder(String name)
Create new builder for
Summary. |
long |
count() |
double |
max() |
double |
mean() |
SortedMap<Double,Double> |
percentileValues()
Return a sorted map of percentile values.
|
void |
record(double amount)
Updates the statistics kept by the summary with the specified amount.
|
static Summary.Builder builder(String name)
Summary.name - The name of the metric.Summary.void record(double amount)
amount - Amount for an event being measured.long count()
double mean()
double max()
SortedMap<Double,Double> percentileValues()
Copyright © 2018 WSO2. All rights reserved.