diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-26 23:03:46 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-26 23:03:46 -0400 |
commit | d2149256252cabae6d49852bb5765877c59f8f5c (patch) | |
tree | 5ed399562d88e1d32831ab5199399e1ca736e9c2 /activesupport/lib/active_support/cache/mem_cache_store.rb | |
parent | c77adb40ccbd48fd673576d387d0df260f7de59e (diff) | |
download | rails-d2149256252cabae6d49852bb5765877c59f8f5c.tar.gz rails-d2149256252cabae6d49852bb5765877c59f8f5c.tar.bz2 rails-d2149256252cabae6d49852bb5765877c59f8f5c.zip |
making comments meaningful by correcting, adding and pruning
Diffstat (limited to 'activesupport/lib/active_support/cache/mem_cache_store.rb')
-rw-r--r-- | activesupport/lib/active_support/cache/mem_cache_store.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb index 852defeae8..f32b562368 100644 --- a/activesupport/lib/active_support/cache/mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/mem_cache_store.rb @@ -16,8 +16,7 @@ module ActiveSupport # 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. + # 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. @@ -69,7 +68,7 @@ module ActiveSupport extend LocalCacheWithRaw end - # Reads multiple keys from the cache using a single call to the + # Reads multiple values from the cache using a single call to the # servers for all keys. Options can be passed in the last argument. def read_multi(*names) options = names.extract_options! @@ -113,7 +112,7 @@ module ActiveSupport end # Clear the entire cache on all memcached servers. This method should - # be used with care when using a shared cache. + # be used with care when shared cache is being used. def clear(options = nil) @data.flush_all end |