class MemCacheStore
Ruby on Rails 2.3.18
Since v2.2.3A cache store implementation which stores data in Memcached: www.danga.com/memcached/
This is currently the most popular cache store for production websites.
Special features:
-
Clustering and load balancing. One can specify multiple memcached servers, and MemCacheStore will load balance between all available servers. If a server goes down, then MemCacheStore will ignore it until it goes back online.
-
Time-based expiry support. See #write and the
:expires_inoption. -
Per-request in memory cache for all communication with the MemCache server(s).
Inherits from
Extends
Methods (defined here)
- # clear
- # read_multi
- # stats
- # write
- self. build_mem_cache
- self. new
Private methods
(1)
Implementation detail — not part of the public API.
- # raw?
Methods (inherited)
From ActiveSupport::Cache::Store (10)
From ActiveSupport::Cache::Strategy::LocalCache (9)
- # clear
- # decrement
- # delete
- # exist
- # increment
- # middleware
- # read
- # with_local_cache
- # write
From Object (37)
- # acts_like?
- # app
- # as_json
- # blank?
- # class_eval
- # create
- # create_fixtures
- # destroy
- # duplicable?
- # edit
- # find_cmd
- # helper
- # html_safe?
- # index
- # instance_exec
- # instance_variable_defined?
- # instance_variable_names
- # message
- # metaclass
- # new_session
- # presence
- # present?
- # reload!
- # returning
- # singleton_class
- # tap
- # to_json
- # to_param
- # to_query
- # try
- # unescape
- # update
- # with_options
- self. blank_slate_method_added
- self. find_hidden_method
- self. lookup_missing_generator
- self. method_added