DBIx::SQLEngine::Cache::BasicCache - Basic Cache Object


NAME

DBIx::SQLEngine::Cache::BasicCache - Basic Cache Object


SYNOPSIS

  use DBIx::SQLEngine::Cache::BasicCache;
  $cache = DBIx::SQLEngine::Cache::BasicCache->new();
  $cache->set( $key, $value );
  $value = $cache->get( $key );
  $cache->clear();


DESCRIPTION

This package provides a fairly simple cache implementation.

For a more full-featured cache, use one of the Cache::Cache classes.


CACHE INTERFACE

Constructor

new()

Accessors

namespace()

Operations

get()
set()
clear()

Expiration and Pruning

expire()
prune()

Logging

debug()


SEE ALSO

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.