Class: Vertx::MeasuredImpl

Inherits:
Object
  • Object
show all
Includes:
Measured
Defined in:
/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Methods included from Measured

#metrics_enabled?

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)


27
28
29
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb', line 27

def @@j_api_type.accept?(obj)
  obj.class == Measured
end

+ (Object) j_api_type



36
37
38
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb', line 36

def self.j_api_type
  @@j_api_type
end

+ (Object) j_class



39
40
41
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb', line 39

def self.j_class
  Java::IoVertxCoreMetrics::Measured.java_class
end

+ (Object) unwrap(obj)



33
34
35
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb', line 33

def @@j_api_type.unwrap(obj)
  obj.j_del
end

+ (Object) wrap(obj)



30
31
32
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/measured.rb', line 30

def @@j_api_type.wrap(obj)
  Measured.new(obj)
end