RNA::SQL::Cache
This module is part of the RNA Server Project. RNA is an acronym for Domain Name Anarchy. For further informations take a look at RNA man page.
This module manages cache management, query searching, inserting and periodical purging.
$cache->fetch( \%query ) Gather informations from the cache depending on values passed inside hash structure %query. This structure conforms to:
%query => (
name => 'ftp.mydomain.taz',
type => 'A',
class => 'IN',
);
$cache-purify() Make a cleanup of all expired data.
UPDATE: Should be used by paraller, preforked process which, periodically manage cache.
$cache->store( \%data ) Stor data inside cache.
Tx0
RNA, RNA::Internals, RNA::Interface, rnad(8)