Class: ActionController::Caching::Fragments::MemoryStore
- Inherits:
-
UnthreadedMemoryStore
- Object
- UnthreadedMemoryStore
- ActionController::Caching::Fragments::MemoryStore
- Defined in:
- lib/action_controller/caching.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ MemoryStore
constructor
:nodoc:.
Methods inherited from UnthreadedMemoryStore
#delete, #delete_matched, #read, #write
Constructor Details
#initialize ⇒ MemoryStore
:nodoc:
477 478 479 480 481 482 483 |
# File 'lib/action_controller/caching.rb', line 477 def initialize #:nodoc: super if ActionController::Base.allow_concurrency @mutex = Mutex.new MemoryStore.module_eval { include ThreadSafety } end end |