class ActiveRecord::ConnectionAdapters::QueryCache::QueryCacheRegistry

def compute_if_absent(context)

def compute_if_absent(context)
  @map[context] || @mutex.synchronize do
    @map[context] ||= yield
  end
end