- java.lang.Object
-
- com.codahale.metrics.Histogram
-
- org.apache.flink.dropwizard.metrics.FlinkHistogramWrapper
-
- All Implemented Interfaces:
- com.codahale.metrics.Counting, com.codahale.metrics.Metric, com.codahale.metrics.Sampling
public class FlinkHistogramWrapper
extends com.codahale.metrics.Histogram
Wrapper to use a Flink Histogram as a Dropwizard Histogram.
This is necessary to report Flink's histograms via the Dropwizard
Reporter.
-
-
Constructor Summary
Constructors
| Constructor and Description |
FlinkHistogramWrapper(org.apache.flink.metrics.Histogram histogram) |
-
Method Summary
-
Methods inherited from class com.codahale.metrics.Histogram
update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCount
public long getCount()
- Specified by:
getCount in interface com.codahale.metrics.Counting
- Overrides:
getCount in class com.codahale.metrics.Histogram
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.