Class: RubyFFDB::CacheProvider
- Inherits:
-
Object
- Object
- RubyFFDB::CacheProvider
- Defined in:
- lib/rffdb/cache_provider.rb
Overview
Generic Cache Provider definition. Any subclass must implement or inherit the methods defined here (if any).
Direct Known Subclasses
Instance Method Summary collapse
-
#[](_key) ⇒ Object
Used for pulling data from the cache.
-
#[]=(_key, _value) ⇒ Object
Used for storing data in the cache.
Instance Method Details
#[](_key) ⇒ Object
Used for pulling data from the cache
6 7 8 |
# File 'lib/rffdb/cache_provider.rb', line 6 def [](_key) nil end |
#[]=(_key, _value) ⇒ Object
Used for storing data in the cache
11 12 13 |
# File 'lib/rffdb/cache_provider.rb', line 11 def []=(_key, _value) false end |