On Fri, 16 Nov 2001, Morrison, John wrote: I've adjusted the code to make it conform to the coding convention used here and also some slight improvement (replaced new Date().getTime() with System.currentTimeMillis()).
Giacomo > Committed - please check. > > Thanks, > > J. > > > -----Original Message----- > > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] > > Sent: Friday, 16 November 2001 12:51 pm > > To: [EMAIL PROTECTED] > > Subject: RE: DeltaTimeCacheValidity - Scanned for virus > > > > > > +1. (Add it to HEAD) > > > > Thanks, > > dims > > > > --- "Morrison, John" <[EMAIL PROTECTED]> wrote: > > > There's nothing wrong with you creating (and using :) your > > own CacheValidity > > > objects. > > > > > > I'll add it to the head branch, if other committers don't > > want it it's easy > > > to remove. > > > > > > Thanks. > > > > > > J. > > > > > > > -----Original Message----- > > > > From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, 16 November 2001 12:29 pm > > > > To: '[EMAIL PROTECTED]' > > > > Subject: RE: DeltaTimeCacheValidity - Scanned for virus > > > > > > > > > > > > If this is the way to use or create a CacheValidity object > > > > and the code is > > > > worth donating, then.. of course. > > > > I attached the new DeltaTimeCacheValidity object in case it > > > > is accepted. > > > > > > > > Michael > > > > > > > > -----Original Message----- > > > > From: Morrison, John [mailto:[EMAIL PROTECTED]] > > > > Sent: vrijdag 16 november 2001 10:57 > > > > To: '[EMAIL PROTECTED]' > > > > Subject: RE: DeltaTimeCacheValidity - Scanned for virus > > > > > > > > > > > > Are you donating it? If so, I'd be happy to check it in > > (to the head > > > > branch) for you today (I'm on hol for two weeks from tonight > > > > :), if you > > > > could correct the package and add the appropriate Apache > > Licence... > > > > > > > > J. > > > > > > > > > -----Original Message----- > > > > > From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > > > > > Sent: Friday, 16 November 2001 9:38 am > > > > > To: '[EMAIL PROTECTED]' > > > > > Subject: 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: '[EMAIL PROTECTED]' > > > > > 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>> > > > > > > > > > > > > > > > > > > > > > > ============================================================== > > > > ========= > > > > Information in this email and any attachments are > > > > confidential, and may > > > > not be copied or used by anyone other than the addressee, nor > > > > disclosed > > > > to any third party without our permission. There is no > > intention to > > > > create any legally binding contract or other commitment > > > > through the use > > > > of this email. > > > > > > > > Experian Limited (registration number 653331). > > > > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > ===== > > Davanum Srinivas - http://jguru.com/dims/ > > > > __________________________________________________ > > Do You Yahoo!? > > Find the one for you at Yahoo! Personals > > http://personals.yahoo.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]