diff --git a/lib/identity_cache/cache_fetcher.rb b/lib/identity_cache/cache_fetcher.rb index e7f5c71f..3573a628 100644 --- a/lib/identity_cache/cache_fetcher.rb +++ b/lib/identity_cache/cache_fetcher.rb @@ -87,10 +87,6 @@ def fetch(key, fill_lock_duration: nil, lock_wait_tries: 2, &block) end end - def exist?(key) - @cache_backend.exist?(key) - end - private def fetch_without_fill_lock(key) diff --git a/lib/identity_cache/memoized_cache_proxy.rb b/lib/identity_cache/memoized_cache_proxy.rb index da4a954c..d967a149 100644 --- a/lib/identity_cache/memoized_cache_proxy.rb +++ b/lib/identity_cache/memoized_cache_proxy.rb @@ -147,10 +147,6 @@ def clear end end - def exist?(key) - @cache_fetcher.exist?(key) - end - private EMPTY_ARRAY = [].freeze