Module: Cacheflow::Memcached::Notifications

Defined in:
lib/cacheflow/memcached.rb

Instance Method Summary collapse

Instance Method Details

#request(op, *args) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/cacheflow/memcached.rb', line 4

def request(op, *args)
  payload = {
    op: op,
    args: args
  }
  ActiveSupport::Notifications.instrument("query.memcached", payload) do
    super
  end
end