Class List Method List File List

# Module: Vertx::Measured

Included in:
  DatagramSocket, EventBus, HttpClient, HttpServer, MeasuredImpl, NetClient, NetServer, Vertx
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/measured.rb

## Instance Method Summary (collapse)

- - (true, false) metrics_enabled?
  Whether the metrics are enabled for this measured object.

## Instance Method Details

### - (`true`, `false`) metrics_enabled?

Whether the metrics are enabled for this measured object

Returns:

- (`true`, `false`) —
  true if the metrics are enabled

Raises:

- (`ArgumentError`)

    7
    8
    9
    10
    11
    12
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/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