SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE perl-Cache-Cache-1.08-lp151.2.2.noarch.rpm

Cache::FileCache

Section: User Contributed Perl Documentation (3)
Updated: 2015-04-17
Index 

NAME

Cache::FileCache -- implements the Cache interface. 

DESCRIPTION

The FileCache class implements the Cache interface. This cache storesdata in the filesystem so that it can be shared between processes. 

SYNOPSIS

  use Cache::FileCache;  my $cache = new Cache::FileCache( { 'namespace' => 'MyNamespace',                                      'default_expires_in' => 600 } );  See Cache::Cache for the usage synopsis.
 

METHODS

See Cache::Cache for the API documentation.
Clear( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
Purge( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
Size( [$cache_root] )
See Cache::Cache, with the optional $cache_root parameter.
 

OPTIONS

See Cache::Cache for standard options. Additionally, options are setby passing in a reference to a hash containing any of the followingkeys:
cache_root
The location in the filesystem that will hold the root of the cache.Defaults to the 'FileCache' under the OS default temp directory (often '/tmp' on UNIXes ) unless explicitly set.
cache_depth
The number of subdirectories deep to cache object item. This shouldbe large enough that no cache directory has more than a few hundredobjects. Defaults to 3 unless explicitly set.
directory_umask
The directories in the cache on the filesystem should be globallywritable to allow for multiple users. While this is a potentialsecurity concern, the actual cache entries are written with the user'sumask, thus reducing the risk of cache poisoning. If you desire it toonly be user writable, set the 'directory_umask' option to '077' orsimilar. Defaults to '000' unless explicitly set.
 

PROPERTIES

See Cache::Cache for default properties.
(get|set)_cache_root
See the definition above for the option cache_root
(get|set)_cache_depth
See the definition above for the option cache_depth
(get|set)_directory_umask
See the definition above for the option directory_umask
 

SEE ALSO

Cache::Cache 

AUTHOR

Original author: DeWitt Clinton <dewittAATTunto.net>

Last author: $Author: dclinton $

Copyright (C) 2001-2003 DeWitt Clinton


 

Index

NAME
DESCRIPTION
SYNOPSIS
METHODS
OPTIONS
PROPERTIES
SEE ALSO
AUTHOR

This document was created byman2html,using the manual pages.