1Cache::MemoryCache(3) User Contributed Perl DocumentationCache::MemoryCache(3)
2
3
4
6 Cache::MemoryCache -- implements the Cache interface.
7
9 The MemoryCache class implements the Cache interface. This cache
10 stores data on a per-process basis. This is the fastest of the cache
11 implementations, but data can not be shared between processes with the
12 MemoryCache. However, the data will remain in the cache until cleared,
13 it expires, or the process dies. The cache object simply going out of
14 scope will not destroy the data.
15
17 use Cache::MemoryCache;
18
19 my $cache = new Cache::MemoryCache( { 'namespace' => 'MyNamespace',
20 'default_expires_in' => 600 } );
21
22 See Cache::Cache for the usage synopsis.
23
25 See Cache::Cache for the API documentation.
26
28 See Cache::Cache for standard options.
29
31 See Cache::Cache for default properties.
32
34 Cache::Cache
35
37 Original author: DeWitt Clinton <dewitt@unto.net>
38
39 Last author: $Author: dclinton $
40
41 Copyright (C) 2001-2003 DeWitt Clinton
42
43
44
45perl v5.32.0 2020-07-28 Cache::MemoryCache(3)