Class SpectatorMetricsOptions.SpectatorPoolMetrics

java.lang.Object
net.bluemind.lib.vertx.metrics.SpectatorMetricsOptions.SpectatorPoolMetrics
All Implemented Interfaces:
io.vertx.core.spi.metrics.Metrics, io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>
Enclosing class:
SpectatorMetricsOptions

public static class SpectatorMetricsOptions.SpectatorPoolMetrics extends Object implements io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>
  • Field Summary

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

    DISABLE_METRICS_PROPERTY_NAME, METRICS_ENABLED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.base.Stopwatch
    begin(com.google.common.base.Stopwatch t)
     
    void
    end(com.google.common.base.Stopwatch t, boolean succeeded)
     
    void
    rejected(com.google.common.base.Stopwatch t)
     
    com.google.common.base.Stopwatch
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    close
  • Constructor Details

    • SpectatorPoolMetrics

      public SpectatorPoolMetrics(String typeDashName)
  • Method Details

    • submitted

      public com.google.common.base.Stopwatch submitted()
      Specified by:
      submitted in interface io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>
    • rejected

      public void rejected(com.google.common.base.Stopwatch t)
      Specified by:
      rejected in interface io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>
    • begin

      public com.google.common.base.Stopwatch begin(com.google.common.base.Stopwatch t)
      Specified by:
      begin in interface io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>
    • end

      public void end(com.google.common.base.Stopwatch t, boolean succeeded)
      Specified by:
      end in interface io.vertx.core.spi.metrics.PoolMetrics<com.google.common.base.Stopwatch>