Module: Merb::Cache

Module | Merb::Cache
In: | lib/merb-cache/cache.rb lib/merb-cache/cache_request.rb lib/merb-cache/stores/fundamental/file_store.rb lib/merb-cache/stores/fundamental/memcached_store.rb lib/merb-cache/stores/strategy/abstract_strategy_store.rb lib/merb-cache/stores/strategy/action_store.rb lib/merb-cache/stores/strategy/adhoc_store.rb lib/merb-cache/stores/strategy/gzip_store.rb lib/merb-cache/stores/strategy/page_store.rb lib/merb-cache/stores/strategy/sha1_store.rb

### Methods

[] clone_stores default_store_name exists? register setup

### Classes and Modules

Module Merb::Cache::CacheMixin
Class Merb::Cache::AbstractStore
Class Merb::Cache::AbstractStrategyStore
Class Merb::Cache::ActionStore
Class Merb::Cache::AdhocStore
Class Merb::Cache::CacheRequest
Class Merb::Cache::FileStore
Class Merb::Cache::GzipStore
Class Merb::Cache::MemcachedStore
Class Merb::Cache::NotSupportedError
Class Merb::Cache::PageStore
Class Merb::Cache::SHA1Store
Class Merb::Cache::StoreExists
Class Merb::Cache::StoreNotFound

### Attributes

stores | [RW] |

### Public Class methods

[](*names)

Cache store lookup name<Symbol> : The name of a registered store Returns<Nil AbstractStore> : A thread-safe copy of the store

clone_stores()

Clones the cache stores for the current thread

default_store_name()

Default store name is :default.

exists?(name)

Checks to see if a given store exists already.

register(name, klass = nil, opts = {})

Registers the cache store name with a type & options name<Symbol> : An optional symbol to give the cache. :default is used if no name is given. klass<Class> : A store type. opts<Hash> : A hash to pass through to the store for configuration.

setup(&blk)

[Validate]