Method: NewRelic::Agent::VM::JRubyVM#supports?

Defined in:
lib/new_relic/agent/vm/jruby_vm.rb

#supports?(key) ⇒ Boolean

Returns:

  • (Boolean)

27
28
29
30
31
32
33
34
# File 'lib/new_relic/agent/vm/jruby_vm.rb', line 27

def supports?(key)
  case key
  when :gc_runs, :thread_count
    true
  else
    false
  end
end