io.vertx.core.spi.metrics

## Interface Metrics

- All Known Subinterfaces:
    DatagramSocketMetrics, EventBusMetrics<H>, HttpClientMetrics<R,W,S,E,T>, HttpServerMetrics<R,W,S>, NetworkMetrics<S>, PoolMetrics<T>, TCPMetrics<S>, VertxMetrics

      public interface Metrics

  The metrics interface is implemented by metrics providers that wants to provide monitoring of Vert.x core.
  Author:
    Nick Scavelli

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DISABLE_METRICS_PROPERTY_NAME`
    `static boolean` | `METRICS_ENABLED`

  - ### Method Summary

    All Methods Instance Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `close()` Used to close out the metrics, for example when an http server/client has been closed. No specific thread and context can be expected when this method is called.
    `default boolean` | `isEnabled()` Deprecated. the SPI metrics should instead return a `null` object to signal that metrics is not provided

- - ### Field Detail

    - #### DISABLE_METRICS_PROPERTY_NAME

          static final String DISABLE_METRICS_PROPERTY_NAME

      See Also:
        Constant Field Values

    - #### METRICS_ENABLED

          static final boolean METRICS_ENABLED

  - ### Method Detail

    - #### isEnabled

          @Deprecated
          default boolean isEnabled()

      Deprecated. the SPI metrics should instead return a `null` object to signal that metrics is not provided
      Whether the metrics are enabled.
      Returns:
        true if the metrics are enabled.

    - #### close

          default void close()

      Used to close out the metrics, for example when an http server/client has been closed.

      No specific thread and context can be expected when this method is called.

Copyright © 2019 Eclipse. All rights reserved.