aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache/synchronized_memory_store.rb
blob: 37caa6b6f1e2bc7d9dcddbae070551c9ae2a7230 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module ActiveSupport
  module Cache
    # Like MemoryStore, but thread-safe.
    class SynchronizedMemoryStore < MemoryStore
      def initialize(*args)
        ActiveSupport::Deprecation.warn('ActiveSupport::Cache::SynchronizedMemoryStore has been deprecated in favor of ActiveSupport::Cache::MemoryStore.', caller)
        super
      end
    end
  end
end