Module: Zm::Support::Cache
- Defined in:
- lib/zm/support/cache.rb,
lib/zm/support/cache/entry.rb,
lib/zm/support/cache/store.rb,
lib/zm/support/cache/strategy.rb,
lib/zm/support/cache/file_store.rb,
lib/zm/support/cache/null_store.rb,
lib/zm/support/cache/request_strategy.rb
Defined Under Namespace
Classes: Entry, FileStore, NullStore, RequestStrategy, Store, Strategy
Constant Summary
collapse
- DeserializationError =
Class.new(StandardError)
Class Method Summary
collapse
Class Method Details
.register_storage(key, klass) ⇒ Object
13
14
15
|
# File 'lib/zm/support/cache.rb', line 13
def register_storage(key, klass)
registered_storage[key] = klass
end
|
.registered_storage ⇒ Object
9
10
11
|
# File 'lib/zm/support/cache.rb', line 9
def registered_storage
@registered_storage ||= {}
end
|