public class FlinkMeterWrapper
extends com.codahale.metrics.Meter
Meter
as a Dropwizard Meter
. This is
necessary to report Flink's meters via the Dropwizard Reporter
.Constructor and Description |
---|
FlinkMeterWrapper(Meter meter) |
FlinkMeterWrapper(Meter meter,
com.codahale.metrics.Clock clock) |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
double |
getFifteenMinuteRate() |
double |
getFiveMinuteRate() |
double |
getMeanRate() |
double |
getOneMinuteRate() |
void |
mark() |
void |
mark(long n) |
public FlinkMeterWrapper(Meter meter)
public FlinkMeterWrapper(Meter meter, com.codahale.metrics.Clock clock)
public void mark()
mark
in class com.codahale.metrics.Meter
public void mark(long n)
mark
in class com.codahale.metrics.Meter
public long getCount()
getCount
in interface com.codahale.metrics.Counting
getCount
in interface com.codahale.metrics.Metered
getCount
in class com.codahale.metrics.Meter
public double getOneMinuteRate()
getOneMinuteRate
in interface com.codahale.metrics.Metered
getOneMinuteRate
in class com.codahale.metrics.Meter
public double getFiveMinuteRate()
getFiveMinuteRate
in interface com.codahale.metrics.Metered
getFiveMinuteRate
in class com.codahale.metrics.Meter
public double getFifteenMinuteRate()
getFifteenMinuteRate
in interface com.codahale.metrics.Metered
getFifteenMinuteRate
in class com.codahale.metrics.Meter
public double getMeanRate()
getMeanRate
in interface com.codahale.metrics.Metered
getMeanRate
in class com.codahale.metrics.Meter
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.