module NewRelic::Agent::Instrumentation::Memcache::DalliCAS

Public Instance Methods

instrument!() click to toggle source
# File lib/new_relic/agent/instrumentation/memcache/dalli.rb, line 89
def instrument!
  instrument_methods(::Dalli::Client, dalli_cas_methods)
  instrument_multi_method(:get_multi_cas)
end
should_instrument?() click to toggle source
# File lib/new_relic/agent/instrumentation/memcache/dalli.rb, line 85
def should_instrument?
  supported_methods_for(::Dalli::Client, dalli_cas_methods).any?
end