class Riak::Multiget

riak-client 2.2.2 patches

Public Class Methods

get_all(client, fetch_list) click to toggle source
# File lib/patches/db/riak.rb, line 7
def get_all(client, fetch_list)
  return get_all_without_profiling(client, fetch_list) unless SqlPatches.should_measure?

  start        = Process.clock_gettime(Process::CLOCK_MONOTONIC)
  result       = get_all_without_profiling(client, fetch_list)
  elapsed_time = SqlPatches.elapsed_time(start)
  record       = ::Rack::MiniProfiler.record_sql("get_all size=#{fetch_list.size}", elapsed_time)

  result
end
Also aliased as: get_all_without_profiling
get_all_without_profiling(client, fetch_list)
Alias for: get_all