The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 Cache::Cache.

For more about the Cache classes, see DBIx::SQLEngine::Record::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.