public static final class MetricSuppliers.DefaultMeterSupplier extends Object implements com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Meter>, PluginInfoInitialized
Meter
supplier. The following configuration is available, either as attribute
or initArgs:
MetricSuppliers.CLOCK_USER
for Clock.UserTimeClock
or
MetricSuppliers.CLOCK_CPU
for Clock.CpuTimeClock
. If not set then the value of
Clock.defaultClock()
will be used.Modifier and Type | Field and Description |
---|---|
com.codahale.metrics.Clock |
clk |
Constructor and Description |
---|
DefaultMeterSupplier() |
Modifier and Type | Method and Description |
---|---|
void |
init(PluginInfo info) |
com.codahale.metrics.Meter |
newMetric() |
public void init(PluginInfo info)
init
in interface PluginInfoInitialized
public com.codahale.metrics.Meter newMetric()
newMetric
in interface com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Meter>
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.