Cache::SharedMemoryCache -- extends the MemoryCache.



NAME

Cache::SharedMemoryCache -- extends the MemoryCache.


DESCRIPTION

The SharedMemoryCache extends the MemoryCache class and binds the data store to shared memory so that separate process can use the same cache.


SYNOPSIS

  use Cache::SharedMemoryCache;
  my %cache_options_= ( 'namespace' => 'MyNamespace',
                        'default_expires_in' => 600 );
  my $shared_memory_cache = 
    new Cache::SharedMemoryCache( \%cache_options ) or
      croak( "Couldn't instantiate SharedMemoryCache" );


METHODS

See Cache::Cache for the API documentation.


OPTIONS

See Cache::Cache for the standard options.


PROPERTIES

See Cache::Cache for the default properties.


SEE ALSO

Cache::Cache, Cache::MemoryCache


AUTHOR

Original author: DeWitt Clinton <dewitt@unto.net>

Last author: $Author: dclinton $

Copyright (C) 2001-2003 DeWitt Clinton

 Cache::SharedMemoryCache -- extends the MemoryCache.