Type:
Class
Constants:
ESCAPE_KEY_CHARS : /[\x00-\x20%\x7F-\xFF]/n

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.

new

new(*addresses) Class Public methods Creates a new

2015-06-20 00:00:00
stats

stats() Instance Public methods Get the statistics from the memcached servers

2015-06-20 00:00:00
clear

clear(options = nil) Instance Public methods Clear the entire cache on all memcached

2015-06-20 00:00:00
build_mem_cache

build_mem_cache(*addresses) Class Public methods

2015-06-20 00:00:00
read_multi

read_multi(*names) Instance Public methods Reads multiple values from the cache

2015-06-20 00:00:00