1Cache::SizeAwareMemoryCUascehre(C3o)ntributed Perl DocumCeancthaet:i:oSnizeAwareMemoryCache(3)
2
3
4

NAME

6       Cache::SizeAwareMemoryCache -- extends Cache::MemoryCache
7

DESCRIPTION

9       The SizeAwareMemoryCache class adds the ability to dynamically limit
10       the size (in bytes) of a memory based cache.  This class also
11       implements the SizeAwareCache interface, providing the 'max_size'
12       option and the 'limit_size( $size )' method.
13

SYNOPSIS

15         use Cache::SizeAwareMemoryCache;
16
17         my $cache =
18           new Cache::SizeAwareMemoryCache( { 'namespace' => 'MyNamespace',
19                                              'default_expires_in' => 600,
20                                              'max_size' => 10000 } );
21

METHODS

23       See Cache::Cache and Cache::SizeAwareCache for the API documentation.
24

OPTIONS

26       See Cache::Cache and Cache::SizeAwareCache for the standard options.
27

PROPERTIES

29       See Cache::Cache and Cache::SizeAwareCache for the default properties.
30

SEE ALSO

32       Cache::Cache, Cache::SizeAwareCache, Cache::MemoryCache
33

AUTHOR

35       Original author: DeWitt Clinton <dewitt@unto.net>
36
37       Last author:     $Author: dclinton $
38
39       Copyright (C) 2001-2003 DeWitt Clinton
40
41
42
43perl v5.28.0                      2014-09-17    Cache::SizeAwareMemoryCache(3)
Impressum