Class DropwizardHistogramWrapper
java.lang.Object
org.apache.flink.dropwizard.metrics.DropwizardHistogramWrapper
- All Implemented Interfaces:
org.apache.flink.metrics.Histogram,org.apache.flink.metrics.Metric
public class DropwizardHistogramWrapper
extends Object
implements org.apache.flink.metrics.Histogram
Wrapper to use a Dropwizard
Histogram as a Flink Histogram.-
Constructor Summary
ConstructorsConstructorDescriptionDropwizardHistogramWrapper(com.codahale.metrics.Histogram dropwizardHistogram) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.metrics.Histogram
getMetricType
-
Constructor Details
-
DropwizardHistogramWrapper
public DropwizardHistogramWrapper(com.codahale.metrics.Histogram dropwizardHistogram)
-
-
Method Details
-
getDropwizardHistogram
public com.codahale.metrics.Histogram getDropwizardHistogram() -
update
public void update(long value) - Specified by:
updatein interfaceorg.apache.flink.metrics.Histogram
-
getCount
public long getCount()- Specified by:
getCountin interfaceorg.apache.flink.metrics.Histogram
-
getStatistics
public org.apache.flink.metrics.HistogramStatistics getStatistics()- Specified by:
getStatisticsin interfaceorg.apache.flink.metrics.Histogram
-