Cache::RemovalStrategy β abstract Removal Strategy interface for a Cache
| Use Case | Command | Description |
|---|---|---|
| π§Ή Remove entries by size | $r->remove_size( $cache, $size ) | Remove entries from the cache that total at least $size in size |
| π§© Implement a custom removal strategy | package MyRemoval; use base 'Cache::RemovalStrategy'; sub remove_size { ... } | Create a subclass that implements the remove_size method |
(No additional description text provided in original document.)
$r->remove_size( $cache, $size ) β When invoked, removes entries from the cache that total at least $size in size.Chris Leishman <chris AT leishman.org>
Based on work by DeWitt Clinton <dewitt AT unto.net>
Copyright (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: RemovalStrategy.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $
perl v5.32.0 2021-01-01 Cache::RemovalStrategy(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 00:14 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format