Class Ramaze::Cache::LocalMemCache
In: lib/ramaze/cache/localmemcache.rb
Parent: Object

Cache based on the localmemcache library which utilizes mmap to share strings in memory between ruby instances.

Methods

Included Modules

Cache::API

Constants

OPTIONS = { :size_mb => 1024, :serialize => true, :serializer => ::Marshal, # something that responds to ::load and ::dump }

Public Instance methods

Wipe out all data in localmemcached, use with care.

NOTE:

  * We have no way of knowing whether the value really is nil, we
    assume you wouldn't cache nil and return the default instead.

Connect to localmemcache

[Validate]