public class MetricsService extends Object
MetricsService
in the vertx-dropwizard-metrics module.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MetricsService> |
__TYPE_ARG |
Constructor and Description |
---|
MetricsService(MetricsService delegate) |
MetricsService(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static MetricsService |
create(Measured measured)
Creates a metric service for a given object.
|
boolean |
equals(Object o) |
String |
getBaseName() |
MetricsService |
getDelegate() |
JsonObject |
getMetricsSnapshot()
Will return the metrics that correspond with the
measured object, null if no metrics is available. |
JsonObject |
getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName , null if no metrics is available. |
int |
hashCode() |
Set<String> |
metricsNames() |
static MetricsService |
newInstance(MetricsService arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<MetricsService> __TYPE_ARG
public MetricsService(MetricsService delegate)
public MetricsService(Object delegate)
public MetricsService getDelegate()
public static MetricsService create(Measured measured)
measured
- the measured objectpublic String getBaseName()
public JsonObject getMetricsSnapshot()
measured
object, null if no metrics is available.public JsonObject getMetricsSnapshot(String baseName)
baseName
, null if no metrics is available.baseName
- public static MetricsService newInstance(MetricsService arg)
Copyright © 2021 Eclipse. All rights reserved.