class MemCacheStore
Ruby on Rails 5.0.7.2
A 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
Constants
Methods (defined here)
- # clear
- # read_multi
- # stats
- self. new
Private methods (4)
Show private methods Implementation detail — not part of the public API.
Methods (inherited)
From ActiveSupport::Cache::Store
(16)
- # cleanup
- # clear
- # decrement
- # delete
- # delete_matched
- # exist?
- # fetch
- # fetch_multi
- # increment
- # key_matcher
- # mute
- # read
- # read_multi
- # silence!
- # write
- self. new
From Object
(25)
- # <
- # acts_like?
- # blank?
- # change
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # perform
- # presence
- # presence_in
- # present?
- # subscribed
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # unsubscribed
- # with_options
- self. table_name_prefix