NAME
Cache::SizeAwareSharedMemoryCache -- extends the Cache::SizeAwareMemoryCache module
DESCRIPTION
The SizeAwareSharedMemoryCache extends the SizeAwareMemoryCache class and binds the data store to shared memory so that separate process can use the same cache.
SYNOPSIS
use Cache::SizeAwareSharedMemoryCache;
my %cache_options = ( 'namespace' => 'MyNamespace',
'default_expires_in' => 600,
'max_size' => 10000 );
my $size_aware_shared_memory_cache =
new Cache::SizeAwareSharedMemoryCache( \%cache_options ) or
croak( "Couldn't instantiate SizeAwareSharedMemoryCache" );
METHODS
- Clear( )
-
See Cache::Cache
- Purge( )
-
See Cache::Cache
- Size( )
-
See Cache::Cache
- new( $options_hash_ref )
-
Constructs a new SizeAwareMemoryCache
- clear( )
-
See Cache::Cache
- get( $identifier )
-
See Cache::Cache
- get_object( $identifier )
-
See Cache::Cache
- limit_size( $new_size )
-
See Cache::SizeAwareMemoryCache
- 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. See Cache::SizeAwareMemory cache for other options.
PROPERTIES
See Cache::Cache and Cache::SizeAwareMemoryCache for default properties.
SEE ALSO
Cache::Cache, Cache::MemoryCache, Cache::SizeAwareMemoryCache
AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001 DeWitt Clinton