public class DropwizardVertxMetricsFactory extends Object implements VertxMetricsFactory
| Constructor and Description |
|---|
DropwizardVertxMetricsFactory() |
DropwizardVertxMetricsFactory(com.codahale.metrics.MetricRegistry metricRegistry)
Create a metrics factory passing a metric registry used instead of the Dropwizard shared registry.
|
| Modifier and Type | Method and Description |
|---|---|
VertxMetrics |
metrics(VertxOptions options)
Create a new
VertxMetrics object.
No specific thread and context can be expected when this method is called. |
MetricsOptions |
newOptions()
Create an empty metrics options.
|
MetricsOptions |
newOptions(JsonObject jsonObject)
Create metrics options from the provided
jsonObject. |
MetricsOptions |
newOptions(MetricsOptions options)
Create metrics options from the provided
options. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic DropwizardVertxMetricsFactory()
public DropwizardVertxMetricsFactory(com.codahale.metrics.MetricRegistry metricRegistry)
metricRegistry - the metricRegistrypublic VertxMetrics metrics(VertxOptions options)
VertxMetricsFactoryVertxMetrics object.
No specific thread and context can be expected when this method is called.metrics in interface VertxMetricsFactoryoptions - the metrics configuration optionpublic MetricsOptions newOptions(MetricsOptions options)
VertxMetricsFactoryoptions.
Providers can override this method to provide a custom metrics options subclass that exposes custom configuration.
It is used when a Vert.x instance is created with a MetricsOptions instance.
newOptions in interface VertxMetricsFactoryoptions - new metrics optionspublic MetricsOptions newOptions()
VertxMetricsFactoryLauncher class when creating new options when building a CLI Vert.x.newOptions in interface VertxMetricsFactorypublic MetricsOptions newOptions(JsonObject jsonObject)
VertxMetricsFactoryjsonObject.
Providers can override this method to provide a custom metrics options subclass that exposes custom configuration.
It is used by the Launcher class when creating new options when building a CLI Vert.x.
newOptions in interface VertxMetricsFactoryjsonObject - json provided by the userCopyright © 2025 Eclipse. All rights reserved.