DBIx::SQLEngine::Cache::TrivialCache - Trivial Cache Object
use DBIx::SQLEngine::Cache::TrivialCache;
$cache = DBIx::SQLEngine::Cache::TrivialCache->new();
$cache->set( $key, $value );
$value = $cache->get( $key );
$cache->clear();
This package provides a very, very simple cache implementation. No expiration or pruning is performed.
For a more full-featured cache, use one of the Cache::Cache classes.
new()
get_namespace()
Returns nothing.
get()
set()
clear()
For a more full-featured cache, see the Cache::Cache manpage.
For more about the Cache classes, see the DBIx::SQLEngine::Record::Trait::Cache manpage.
For more about the Record classes, see the DBIx::SQLEngine::Record::Class manpage.
See the DBIx::SQLEngine manpage for the overall interface and developer documentation.
See the DBIx::SQLEngine::Docs::ReadMe manpage for general information about this distribution, including installation and license information.