instance method
read_multi_entries
Ruby on Rails 6.0.6
Since v5.2.8.1 PrivateSignature
read_multi_entries(keys, **options)
No documentation comment.
Parameters
-
keysreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 130
def read_multi_entries(keys, **options)
return super unless local_cache
local_entries = local_cache.read_multi_entries(keys, **options)
missed_keys = keys - local_entries.keys
if missed_keys.any?
local_entries.merge!(super(missed_keys, **options))
else
local_entries
end
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 130
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache