Re: Validity question

2004-04-07 Thread Ugo Cei
Il giorno 08/apr/04, alle 00:18, Upayavira ha scritto:

Ugo Cei wrote:

Excuse me if this is a FAQ, but what is a generator implementing the 
o.a.c.caching.CacheableProcessingComponent interface expected to 
return as the value of the "getValidity" method, in case the 
generated content never changes?
It can return NOPValidity.SHARED_INSTANCE if you want to say that it 
is okay to cache this component.

This can be found in the package 
org.apache.excalibur.source.impl.validity

Regards, Upayavira


Thanks.

	Ugo



Re: Validity question

2004-04-07 Thread Upayavira
Ugo Cei wrote:

Excuse me if this is a FAQ, but what is a generator implementing the 
o.a.c.caching.CacheableProcessingComponent interface expected to 
return as the value of the "getValidity" method, in case the generated 
content never changes?
It can return NOPValidity.SHARED_INSTANCE if you want to say that it is 
okay to cache this component.

This can be found in the package org.apache.excalibur.source.impl.validity

Regards, Upayavira




Validity question

2004-04-07 Thread Ugo Cei
Excuse me if this is a FAQ, but what is a generator implementing the 
o.a.c.caching.CacheableProcessingComponent interface expected to return 
as the value of the "getValidity" method, in case the generated content 
never changes?

	TIA,

		Ugo