The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 DeWitt Clinton