public class UntypedMetric extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UntypedMetric.AssumedType |
Modifier and Type | Field and Description |
---|---|
private long |
count |
private double |
current |
private org.HdrHistogram.DoubleHistogram |
histogram |
private static Logger |
log |
private double |
max |
private MetricSettings |
metricSettings |
private double |
min |
private UntypedMetric.AssumedType |
outputFormat |
private double |
sum |
Constructor and Description |
---|
UntypedMetric(MetricSettings metricSettings) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(Number x) |
long |
getCount() |
org.HdrHistogram.DoubleHistogram |
getHistogram() |
double |
getLast() |
double |
getMax() |
(package private) MetricSettings |
getMetricDefinition() |
double |
getMin() |
double |
getSum() |
boolean |
isCounter() |
(package private) void |
merge(UntypedMetric other,
boolean otherIsNewer) |
(package private) UntypedMetric |
pruneData() |
(package private) void |
put(Number x) |
String |
toString() |
private static final Logger log
private long count
private double current
private double max
private double min
private double sum
private UntypedMetric.AssumedType outputFormat
private final org.HdrHistogram.DoubleHistogram histogram
private final MetricSettings metricSettings
UntypedMetric(MetricSettings metricSettings)
void add(Number x)
void put(Number x)
UntypedMetric pruneData()
void merge(UntypedMetric other, boolean otherIsNewer) throws IllegalArgumentException
IllegalArgumentException
public boolean isCounter()
public long getCount()
public double getLast()
public double getMax()
public double getMin()
public double getSum()
MetricSettings getMetricDefinition()
public org.HdrHistogram.DoubleHistogram getHistogram()
Copyright © 2018. All rights reserved.