io.vertx.core.spi.metrics

## Interface Metrics

- All Known Subinterfaces:
    DatagramSocketMetrics, EventBusMetrics<H>, HttpClientMetrics<R,W,S>, HttpServerMetrics<R,W,S>, NetworkMetrics<S>, 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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `boolean` | `isEnabled()` Whether the metrics are enabled.

- - ### Method Detail

    - #### isEnabled

          boolean isEnabled()

      Whether the metrics are enabled.
      Returns:
        true if the metrics are enabled.

    - #### close

          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 © 2015. All Rights Reserved.