Query: cache::cachesizer
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Cache::CacheSizer(3pm) User Contributed Perl Documentation Cache::CacheSizer(3pm)NAMECache::CacheSizer -- component object for mamanging the size of cachesDESCRIPTIONThe CacheSizer class is used internally in SizeAware caches such as SizeAwareFileCache to encapsulate the logic of limiting cache size.SYNOPSISuse Cache::CacheSizer; my $sizer = new Cache::CacheSizer( $cache, $max_size ); $sizer->limit_size( $new_size );METHODSnew( $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.PROPERTIESget_max_size The desired size limit for the cache under control.SEE ALSOCache::Cache, Cache::CacheMetaData, Cache::SizeAwareCacheAUTHOROriginal 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)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
How can I do this in VI editor? |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |