Query: cache::null
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Cache::Null(3pm) User Contributed Perl Documentation Cache::Null(3pm)NAMECache::Null - Null implementation of the Cache interfaceSYNOPSISuse Cache::Null; my $cache = Cache::Null->new(); See Cache for the usage synopsis.DESCRIPTIONThe Cache::Null class implements the Cache interface, but does not actually persist data. This is useful when developing and debugging a system and you wish to easily turn off caching. As a result, all calls return results indicating that there is no data stored.CONSTRUCTORmy $cache = Cache::Null->new( %options ) The constructor takes cache properties as named arguments, for example: my $cache = Cache::Null->new( default_expires => '600 sec' ); See 'PROPERTIES' below and in the Cache documentation for a list of all available properties that can be set. However it should be noted that all the existing properties, such as default_expires, have no effect in a Null cache.METHODSSee 'Cache' for the API documentation.SEE ALSOCacheAUTHORChris Leishman <chris@leishman.org> Based on work by DeWitt Clinton <dewitt@unto.net>COPYRIGHTCopyright (C) 2003-2006 Chris Leishman. All Rights Reserved. This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. This program is free software; you can redistribute or modify it under the same terms as Perl itself. $Id: Null.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $ perl v5.12.4 2011-08-05 Cache::Null(3pm)
Related Man Pages |
---|
cache::basecache(3pm) - debian |
cache::basecachetester(3pm) - debian |
cache::filecache(3pm) - debian |
cache::object(3pm) - debian |
cache::sizeawaresharedmemorycache(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Buffer Cache |
GlynnTucker.Cache 0.1.1 (Default branch) |
Gentoo: BIND Cache poisoning |
Cache 901 0.4 (Default branch) |
Find Special/Null/Control Chars and Print Line Numbers |