1DBI::Util::CacheMemory(U3s)er Contributed Perl DocumentatDiBoIn::Util::CacheMemory(3)
2
3
4
6 DBI::Util::CacheMemory - a very fast but very minimal subset of
7 Cache::Memory
8
10 Like Cache::Memory (part of the Cache distribution) but doesn't support
11 any fancy features.
12
13 This module aims to be a very fast compatible strict sub-set for simple
14 cases, such as basic client-side caching for DBD::Gofer.
15
16 Like Cache::Memory, and other caches in the Cache and Cache::Cache
17 distributions, the data will remain in the cache until cleared, it
18 expires, or the process dies. The cache object simply going out of
19 scope will not destroy the data.
20
22 new
23 All options except "namespace" are ignored.
24
25 set
26 Doesn't support expiry.
27
28 purge
29 Same as clear() - deletes everything in the namespace.
30
32 clear
33 count
34 exists
35 remove
36
38 If it's not listed above, it's not supported.
39
40
41
42perl v5.36.0 2023-01-20 DBI::Util::CacheMemory(3)