NAME

Alzabo::ObjectCache::Store::Memory - Cache objects in memory

SYNOPSIS

use Alzabo::ObjectCache
    ( store => 'Alzabo::ObjectCache::Store::Memory',
      sync  => 'Alzabo::ObjectCache::Sync::Null' );

DESCRIPTION

This class simply stores cached objects in memory. This means that a given object should never have to be created twice.

By default, this module has no upper limit on how many objects it will store. If you are operating in a persistent environment such as mod_perl, these will have a tendency to eat up memory over time. Use the lru_size parameter to Alzabo::ObjectCache to make this module act as an LRU.

AUTHOR

Dave Rolsky, <autarch@urth.org>