Module: NewRelic::Agent::Instrumentation::Memcache::DalliCAS
Class Method Summary collapse
Methods included from Dalli
instrument_multi_method, instrument_send_multiget, instrument_server_for_key
Methods included from Helper
correctly_encoded, executable_in_path?, instance_method_visibility, instance_methods_include?, normalize_version, rubygems_specs, run_command, time_to_millis, version_equals?, version_greater_than?, version_less_than?, version_satisfied?
Class Method Details
.instrument! ⇒ Object
87 88 89 90 |
# File 'lib/new_relic/agent/instrumentation/memcache/dalli.rb', line 87 def instrument! instrument_methods(::Dalli::Client, dalli_cas_methods) instrument_multi_method(:get_multi_cas) end |
.should_instrument? ⇒ Boolean
83 84 85 |
# File 'lib/new_relic/agent/instrumentation/memcache/dalli.rb', line 83 def should_instrument? supported_methods_for(::Dalli::Client, dalli_cas_methods).any? end |