----- Original Message -----
From: "Thorsten Mauch" <[EMAIL PROTECTED]>
To: "'Avalon framework users'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 11:35 PM
Subject: AW: Cache Doc


> Thanx for the explanation. A simple use is now clear for me.
>
> >Yep. cache package has just api doc and simple uml diagram.
> >Here is simple usage.
> I'm sorry but i didn't found it. Can you give me a hint.
>
> The other thing is that i want replace outdated object
> automaticly. I think i should use the TimeMapLRUCache for
> that ?

TimeMapLRUPolicy dose not kill time outdated object. It is just replacement
policy.
I kills object when cache is fulled.
Use TimeoutValidator if you want validate cached objects with timeout
constraints.
If you want simple usage then see the
src/test/org/apache/excalibur/cache/validator/test/TimeoutValidatorTestCase.
java

> I saw in the cache it use the TimeMapLRUPolicy.
> How it work is not execly clear for me. If you already
> have a sample for that it would be great.
> But please don't make a effort. If i have the UML diagramm maybe
> it makes it clear to me

Checkout jakarta-avalon-excalibur cvs.
jakarta-avalon-excalibur/cache/src/java/org/apache/excalibur/doc-files/cache
.[dia|png]

>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to