class MemCacheStore
Ruby on Rails 4.0.13
Since v2.2.3A cache store implementation which stores data in Memcached: memcached.org/
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 comes back up.
MemCacheStore implements the Strategy::LocalCache strategy which implements an in-memory cache inside of a block.
Inherits from
Extends
Constants
Methods (defined here)
- # clear
- # read_multi
- # stats
- self. build_mem_cache
- self. new
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From ActiveSupport::Cache::Store (17)
- # cleanup
- # clear
- # decrement
- # delete
- # delete_matched
- # exist?
- # fetch
- # increment
- # key_matcher
- # mute
- # read
- # read_multi
- # silence!
- # write
- self. instrument
- self. instrument=
- self. new
From Object (20)
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # present?
- # to_json
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix