public class FlinkHistogramWrapper
extends com.codahale.metrics.Histogram
Histogram
as a Dropwizard Histogram
.
This is necessary to report Flink's histograms via the Dropwizard Reporter
.Constructor and Description |
---|
FlinkHistogramWrapper(Histogram histogram) |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
com.codahale.metrics.Snapshot |
getSnapshot() |
void |
update(long value) |
public FlinkHistogramWrapper(Histogram histogram)
public void update(long value)
update
in class com.codahale.metrics.Histogram
public long getCount()
getCount
in interface com.codahale.metrics.Counting
getCount
in class com.codahale.metrics.Histogram
public com.codahale.metrics.Snapshot getSnapshot()
getSnapshot
in interface com.codahale.metrics.Sampling
getSnapshot
in class com.codahale.metrics.Histogram
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.