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
- Clear( )
-
See Cache::Cache
- Purge( )
-
See Cache::Cache
- Size( )
-
See Cache::Cache
- new( $options_hash_ref )
-
Constructs a new SharedMemoryCache.
- clear( )
-
See Cache::Cache
- get( $identifier )
-
See Cache::Cache
- get_object( $identifier )
-
See Cache::Cache
- purge( )
-
See Cache::Cache
- remove( $identifier )
-
See Cache::Cache
- set( $identifier, $data, $expires_in )
-
See Cache::Cache
- size( )
-
See Cache::Cache
OPTIONS
See Cache::Cache for standard options.
PROPERTIES
See Cache::Cache for 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