public class AggregateMetric extends Object implements com.codahale.metrics.Metric
Modifier and Type | Class and Description |
---|---|
static class |
AggregateMetric.Update
Simple class to represent current value and how many times it was set.
|
Constructor and Description |
---|
AggregateMetric() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clear(String name) |
double |
getMax() |
double |
getMean() |
double |
getMin() |
double |
getStdDev() |
double |
getSum() |
Map<String,AggregateMetric.Update> |
getValues() |
boolean |
isEmpty() |
void |
set(String name,
Object value) |
int |
size() |
String |
toString() |
public void clear(String name)
public void clear()
public int size()
public boolean isEmpty()
public Map<String,AggregateMetric.Update> getValues()
public double getMax()
public double getMin()
public double getMean()
public double getStdDev()
public double getSum()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.