Class List Method List File List

# Module: Vertx::Measured

Included in:
  DatagramSocket, EventBus, HttpClient, HttpServer, MeasuredImpl, NetClient, NetServer, Vertx, WorkerExecutor
Defined in:
  /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/measured.rb

## Instance Method Summary (collapse)

- - (Boolean) metrics_enabled?

## Instance Method Details

### - (`Boolean`) metrics_enabled?

Returns:

- (`Boolean`)

Raises:

- (`ArgumentError`)

    7
    8
    9
    10
    11
    12
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/measured.rb', line 7

    def metrics_enabled?
      if !block_given?
        return @j_del.java_method(:isMetricsEnabled, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling metrics_enabled?()"
    end