Class VertxMeterBinderAdapter

  • All Implemented Interfaces:
    io.vertx.core.metrics.Measured, io.vertx.core.spi.metrics.Metrics, io.vertx.core.spi.metrics.VertxMetrics, io.vertx.core.spi.VertxMetricsFactory, io.vertx.core.spi.VertxServiceProvider

    public class VertxMeterBinderAdapter
    extends io.vertx.core.metrics.MetricsOptions
    implements io.vertx.core.spi.VertxMetricsFactory, io.vertx.core.spi.metrics.VertxMetrics
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String METRIC_NAME_SEPARATOR  
      • Fields inherited from class io.vertx.core.metrics.MetricsOptions

        DEFAULT_METRICS_ENABLED
      • Fields inherited from interface io.vertx.core.spi.metrics.Metrics

        DISABLE_METRICS_PROPERTY_NAME, METRICS_ENABLED
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vertx.core.spi.metrics.ClientMetrics<?,​?,​?,​?> createClientMetrics​(io.vertx.core.net.SocketAddress remoteAddress, String type, String namespace)  
      io.vertx.core.spi.metrics.DatagramSocketMetrics createDatagramSocketMetrics​(io.vertx.core.datagram.DatagramSocketOptions options)  
      io.vertx.core.spi.metrics.EventBusMetrics<?> createEventBusMetrics()  
      io.vertx.core.spi.metrics.HttpClientMetrics<?,​?,​?,​?> createHttpClientMetrics​(io.vertx.core.http.HttpClientOptions options)  
      io.vertx.core.spi.metrics.HttpServerMetrics<?,​?,​?> createHttpServerMetrics​(io.vertx.core.http.HttpServerOptions options, io.vertx.core.net.SocketAddress localAddress)  
      io.vertx.core.spi.metrics.TCPMetrics<?> createNetClientMetrics​(io.vertx.core.net.NetClientOptions options)  
      io.vertx.core.spi.metrics.TCPMetrics<?> createNetServerMetrics​(io.vertx.core.net.NetServerOptions options, io.vertx.core.net.SocketAddress localAddress)  
      io.vertx.core.spi.metrics.PoolMetrics<?> createPoolMetrics​(String poolType, String poolName, int maxPoolSize)  
      io.vertx.core.spi.VertxMetricsFactory getFactory()  
      boolean isEnabled()  
      io.vertx.core.spi.metrics.VertxMetrics metrics​(io.vertx.core.VertxOptions vertxOptions)  
      io.vertx.core.metrics.MetricsOptions newOptions()  
      (package private) void setHttpConfig​(HttpBinderConfiguration httpBinderConfiguration)  
      • Methods inherited from class io.vertx.core.metrics.MetricsOptions

        setEnabled, setFactory, toJson, toString
      • Methods inherited from interface io.vertx.core.metrics.Measured

        isMetricsEnabled
      • Methods inherited from interface io.vertx.core.spi.metrics.Metrics

        close
      • Methods inherited from interface io.vertx.core.spi.metrics.VertxMetrics

        vertxCreated
      • Methods inherited from interface io.vertx.core.spi.VertxMetricsFactory

        init, newOptions, newOptions
    • Constructor Detail

      • VertxMeterBinderAdapter

        public VertxMeterBinderAdapter()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Overrides:
        isEnabled in class io.vertx.core.metrics.MetricsOptions
      • getFactory

        public io.vertx.core.spi.VertxMetricsFactory getFactory()
        Overrides:
        getFactory in class io.vertx.core.metrics.MetricsOptions
      • metrics

        public io.vertx.core.spi.metrics.VertxMetrics metrics​(io.vertx.core.VertxOptions vertxOptions)
        Specified by:
        metrics in interface io.vertx.core.spi.VertxMetricsFactory
      • newOptions

        public io.vertx.core.metrics.MetricsOptions newOptions()
        Specified by:
        newOptions in interface io.vertx.core.spi.VertxMetricsFactory
      • createHttpServerMetrics

        public io.vertx.core.spi.metrics.HttpServerMetrics<?,​?,​?> createHttpServerMetrics​(io.vertx.core.http.HttpServerOptions options,
                                                                                                      io.vertx.core.net.SocketAddress localAddress)
        Specified by:
        createHttpServerMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createHttpClientMetrics

        public io.vertx.core.spi.metrics.HttpClientMetrics<?,​?,​?,​?> createHttpClientMetrics​(io.vertx.core.http.HttpClientOptions options)
        Specified by:
        createHttpClientMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createNetServerMetrics

        public io.vertx.core.spi.metrics.TCPMetrics<?> createNetServerMetrics​(io.vertx.core.net.NetServerOptions options,
                                                                              io.vertx.core.net.SocketAddress localAddress)
        Specified by:
        createNetServerMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createNetClientMetrics

        public io.vertx.core.spi.metrics.TCPMetrics<?> createNetClientMetrics​(io.vertx.core.net.NetClientOptions options)
        Specified by:
        createNetClientMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createClientMetrics

        public io.vertx.core.spi.metrics.ClientMetrics<?,​?,​?,​?> createClientMetrics​(io.vertx.core.net.SocketAddress remoteAddress,
                                                                                                      String type,
                                                                                                      String namespace)
        Specified by:
        createClientMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createPoolMetrics

        public io.vertx.core.spi.metrics.PoolMetrics<?> createPoolMetrics​(String poolType,
                                                                          String poolName,
                                                                          int maxPoolSize)
        Specified by:
        createPoolMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createDatagramSocketMetrics

        public io.vertx.core.spi.metrics.DatagramSocketMetrics createDatagramSocketMetrics​(io.vertx.core.datagram.DatagramSocketOptions options)
        Specified by:
        createDatagramSocketMetrics in interface io.vertx.core.spi.metrics.VertxMetrics
      • createEventBusMetrics

        public io.vertx.core.spi.metrics.EventBusMetrics<?> createEventBusMetrics()
        Specified by:
        createEventBusMetrics in interface io.vertx.core.spi.metrics.VertxMetrics