You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Thorsten Mauch <ma...@imkenberg.de> on 2002/10/17 22:30:46 UTC
MaxAge cache Policy
Hi Cache Developers
I implement a simple chache policy that selects victims
that exceed a given age. If you want it I contibute it :)
regards Thorsten
<<MaxAgePolicy.java>>
Re: MaxAge cache Policy
Posted by Eung-ju Park <co...@apache.org>.
----- Original Message -----
From: "Thorsten Mauch" <ma...@imkenberg.de>
To: <av...@jakarta.apache.org>
Sent: Friday, October 18, 2002 5:30 AM
Subject: MaxAge cache Policy
> Hi Cache Developers
> I implement a simple chache policy that selects victims
> that exceed a given age. If you want it I contibute it :)
selectVictim must return one item. because of cache needs space for new
item.
if selectVictim return null then may be cache throw NullPointException.
>
> regards Thorsten
>
> <<MaxAgePolicy.java>>
>
----------------------------------------------------------------------------
----
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>