Cache::SizeAwareCache -- extends the Cache interface. |
Cache::SizeAwareCache -- extends the Cache interface.
The SizeAwareCache interface is implemented by classes that support all of the Cache::Cache interface in addition to the limit_size and max_size features of a size aware cache.
The default cache size limiting algorithm works by removing cache objects in the following order until the desired limit is reached:
1) objects that have expired 2) objects that are least recently accessed 3) objects that that expire next
use Cache::SizeAwareCache; use vars qw( @ISA );
@ISA = qw( Cache::SizeAwareCache );
Please see Cache::Cache for standard constants
Please see Cache::Cache for the standard methods
Please see Cache::Cache for the standard options
Please see Cache::Cache for standard properties
Cache::Cache
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
Cache::SizeAwareCache -- extends the Cache interface. |