You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Michael Homeijer <M....@devote.nl> on 2001/11/16 10:38:01 UTC

FW: DeltaTimeCacheValidity - Scanned for virus

Is there any interest to put this into the org.apache.cocoon.caching
package?
Or any other comment on the approach?

TIA,
Michael Homeijer

-----Original Message-----
From: Michael Homeijer 
Sent: woensdag 14 november 2001 15:50
To: 'cocoon-users@xml.apache.org'
Subject: DeltaTimeCacheValidity - Scanned for virus


Hi,

I needed a cachevalidity object that keeps the result of an XSP page in
cache for a specified amount of time.
For this purpose I wrote DeltaTimeCacheValidity.java

The constructor argument of the object is a delta time in seconds. The
object is kept valid in cache for the specified amount of time.

Can anybody comment on this approach?

TIA,
Michael Homeijer

 <<DeltaTimeCacheValidity.java>>