Name

Object::Relation::Cache::File - Object::Relation caching

Synopsis

use Object::Relation::Cache::File;

my $cache = Object::Relation::Cache::File->new;
$cache->set($id, $object);
$cache->add($id, $object);
$object = $cache->get($id);

Description

This class provides an interface for caching data in Object::Relation, regardless of the underlying caching mechanism chosen. See Object::Relation::Cache for a description of the interface.

Overridden methods

  • new

  • set

  • add

  • get

  • remove

Copyright and License

Copyright (c) 2004-2006 Kineticode, Inc. <info@obj_relode.com>

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.