public class NoOpSummary extends AbstractMetric implements Summary
Summary.Summary.Builder| Constructor and Description |
|---|
NoOpSummary(MetricId id) |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
double |
max() |
double |
mean() |
double |
percentile(double percentile) |
void |
record(double amount)
Updates the statistics kept by the summary with the specified amount.
|
equals, getId, hashCodepublic NoOpSummary(MetricId id)
public void record(double amount)
Summarypublic long count()
public double mean()
public double max()
public double percentile(double percentile)
percentile in interface Summarypercentile - A percentile in the domain [0, 1]. For example, 0.5 represents the 50th percentile of the
distribution.Copyright © 2018 WSO2. All rights reserved.