Matthew Simon Cavalletto > DBIx-SQLEngine > DBIx::SQLEngine::Cache::TrivialCache

Download:
DBIx-SQLEngine-0.93.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

DBIx::SQLEngine::Cache::TrivialCache - Trivial Cache Object

SYNOPSIS ^

  use DBIx::SQLEngine::Cache::TrivialCache;

  $cache = DBIx::SQLEngine::Cache::TrivialCache->new();

  $cache->set( $key, $value );

  $value = $cache->get( $key );

  $cache->clear();

DESCRIPTION ^

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.

CACHE INTERFACE ^

Constructor

new()

Accessors

get_namespace()

Returns nothing.

Operations

get()
set()
clear()

SEE ALSO ^

For a more full-featured cache, see Cache::Cache.

For more about the Cache classes, see DBIx::SQLEngine::Record::Trait::Cache.

For more about the Record classes, see DBIx::SQLEngine::Record::Class.

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.

syntax highlighting: