Class VertxPoolMetrics

java.lang.Object
io.quarkus.micrometer.runtime.binder.vertx.VertxPoolMetrics
All Implemented Interfaces:
io.vertx.core.spi.metrics.Metrics, io.vertx.core.spi.metrics.PoolMetrics<EventTiming>

public class VertxPoolMetrics extends Object implements io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
Adaptation of the Vert.x Pool Metrics implementation for Quarkus Micrometer.
  • Constructor Details

    • VertxPoolMetrics

      VertxPoolMetrics(io.micrometer.core.instrument.MeterRegistry registry, String poolType, String poolName, int maxPoolSize)
  • Method Details

    • submitted

      public EventTiming submitted()
      Specified by:
      submitted in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
    • rejected

      public void rejected(EventTiming submitted)
      Specified by:
      rejected in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
    • begin

      public EventTiming begin(EventTiming submitted)
      Specified by:
      begin in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
    • end

      public void end(EventTiming timer, boolean succeeded)
      Specified by:
      end in interface io.vertx.core.spi.metrics.PoolMetrics<EventTiming>
    • close

      public void close()
      Specified by:
      close in interface io.vertx.core.spi.metrics.Metrics