cache::cachesizer(3pm) debian man page | unix.com

Man Page: cache::cachesizer

Operating Environment: debian

Section: 3pm

Cache::CacheSizer(3pm)					User Contributed Perl Documentation				    Cache::CacheSizer(3pm)

NAME
Cache::CacheSizer -- component object for mamanging the size of caches
DESCRIPTION
The CacheSizer class is used internally in SizeAware caches such as SizeAwareFileCache to encapsulate the logic of limiting cache size.
SYNOPSIS
use Cache::CacheSizer; my $sizer = new Cache::CacheSizer( $cache, $max_size ); $sizer->limit_size( $new_size );
METHODS
new( $cache, $max_size ) Construct a new Cache::CacheSizer object for the cache $cache with a maximum size of $max_size. update_access_time( $key ) Inform the cache that the object specified by $key has been accessed. limit_size( $new_size ) Use the sizing algorithms to get the cache down under $new_size if possible.
PROPERTIES
get_max_size The desired size limit for the cache under control.
SEE ALSO
Cache::Cache, Cache::CacheMetaData, Cache::SizeAwareCache
AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::CacheSizer(3pm)
Related Man Pages
cache::basecache(3pm) - debian
cache::filebackend(3pm) - debian
cache::sharedmemorycache(3pm) - debian
cache::sizeawaresharedmemorycache(3pm) - debian
html::mason::cache::basecache(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
Weird 'find' results