public class NoOpHistogram
extends com.yammer.metrics.core.Histogram
Modifier and Type | Field and Description |
---|---|
static NoOpHistogram |
INSTANCE
singleton instance for everyone to use
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
long |
count() |
com.yammer.metrics.stats.Snapshot |
getSnapshot() |
double |
max() |
double |
mean() |
double |
min() |
<T> void |
processWith(com.yammer.metrics.core.MetricProcessor<T> processor,
com.yammer.metrics.core.MetricName name,
T context) |
double |
stdDev() |
double |
sum() |
void |
update(int value) |
void |
update(long value) |
public static final NoOpHistogram INSTANCE
public void clear()
clear
in class com.yammer.metrics.core.Histogram
public void update(int value)
update
in class com.yammer.metrics.core.Histogram
public void update(long value)
update
in class com.yammer.metrics.core.Histogram
public long count()
count
in class com.yammer.metrics.core.Histogram
public double max()
max
in interface com.yammer.metrics.core.Summarizable
max
in class com.yammer.metrics.core.Histogram
public double min()
min
in interface com.yammer.metrics.core.Summarizable
min
in class com.yammer.metrics.core.Histogram
public double mean()
mean
in interface com.yammer.metrics.core.Summarizable
mean
in class com.yammer.metrics.core.Histogram
public double stdDev()
stdDev
in interface com.yammer.metrics.core.Summarizable
stdDev
in class com.yammer.metrics.core.Histogram
public double sum()
sum
in interface com.yammer.metrics.core.Summarizable
sum
in class com.yammer.metrics.core.Histogram
public com.yammer.metrics.stats.Snapshot getSnapshot()
getSnapshot
in interface com.yammer.metrics.core.Sampling
getSnapshot
in class com.yammer.metrics.core.Histogram
public <T> void processWith(com.yammer.metrics.core.MetricProcessor<T> processor, com.yammer.metrics.core.MetricName name, T context) throws Exception
processWith
in interface com.yammer.metrics.core.Metric
processWith
in class com.yammer.metrics.core.Histogram
Exception
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.