D/N/A project
A new way of using
Domain Name Service

Documents :: API

RNA::SQL::Cache


NAME

RNA::SQL::Cache


DESCRIPTION

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.


API

$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.


AUTHOR

Tx0


SEE ALSO

RNA, RNA::Internals, RNA::Interface, rnad(8)

This page last modified: Wednesday, 09-Jan-2008 16:25:01 CET
© 2007-2008 Tx0 - Some right reserved
This work is released under Creative Commons License
hosted by gna!
Valid HTML 4.01 Transitional
Valid CSS!