Cache::FastMemoryBackend - The backend to Cache::FastMemoryCache.


Cache-FastMemoryCache documentation Contained in the Cache-FastMemoryCache distribution.

Index


Code Index:

NAME

Top

Cache::FastMemoryBackend - The backend to Cache::FastMemoryCache.

SYNOPSIS

Top

See Cache::Backend for the usage synopsis.

DESCRIPTION

Top

This is an internal module used by Cache::FastMemoryCache. It is not intended to be instaniated or manipulated by the end-user.

AUTHOR

Top

John Millaway <millaway@acm.org>

SEE ALSO

Top

Cache::Backend, Cache::MemoryBackend, Cache::ShareMemoryBackend


Cache-FastMemoryCache documentation Contained in the Cache-FastMemoryCache distribution.

package Cache::FastMemoryBackend;

use strict;
use warnings;
use base qw(Cache::MemoryBackend);

sub restore
{
  my ( $self, $p_namespace, $p_key ) = @_;

  return $self->_get_store_ref( )->{ $p_namespace }{ $p_key };
}

1;

__END__