Module io.vertx.metrics.dropwizard
Package io.vertx.ext.dropwizard
Class DropwizardVertxMetricsFactory
- java.lang.Object
-
- io.vertx.ext.dropwizard.DropwizardVertxMetricsFactory
-
- All Implemented Interfaces:
VertxMetricsFactory,VertxServiceProvider
public class DropwizardVertxMetricsFactory extends Object implements VertxMetricsFactory
- Author:
- Nick Scavelli
-
-
Constructor Summary
Constructors Constructor Description DropwizardVertxMetricsFactory()DropwizardVertxMetricsFactory(com.codahale.metrics.MetricRegistry metricRegistry)Create a metrics factory passing a metric registry used instead of the Dropwizard shared registry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertxMetricsmetrics(VertxOptions options)MetricsOptionsnewOptions()MetricsOptionsnewOptions(JsonObject jsonObject)MetricsOptionsnewOptions(MetricsOptions options)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.vertx.core.spi.VertxMetricsFactory
init
-
-
-
-
Constructor Detail
-
DropwizardVertxMetricsFactory
public DropwizardVertxMetricsFactory()
-
DropwizardVertxMetricsFactory
public DropwizardVertxMetricsFactory(com.codahale.metrics.MetricRegistry metricRegistry)
Create a metrics factory passing a metric registry used instead of the Dropwizard shared registry.- Parameters:
metricRegistry- the metricRegistry
-
-
Method Detail
-
metrics
public VertxMetrics metrics(VertxOptions options)
- Specified by:
metricsin interfaceVertxMetricsFactory
-
newOptions
public MetricsOptions newOptions(MetricsOptions options)
- Specified by:
newOptionsin interfaceVertxMetricsFactory
-
newOptions
public MetricsOptions newOptions()
- Specified by:
newOptionsin interfaceVertxMetricsFactory
-
newOptions
public MetricsOptions newOptions(JsonObject jsonObject)
- Specified by:
newOptionsin interfaceVertxMetricsFactory
-
-