cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/generation SourceDescriptionGenerator.java
Date Wed, 21 Aug 2002 16:09:22 GMT
stephan@apache.org wrote:

>stephan     2002/08/21 08:35:47
>
>  Modified:    src/scratchpad/src/org/apache/cocoon/generation
>                        SourceDescriptionGenerator.java
>  Log:
>  Reduce Source lookup's.
>
...

>   public class SourceDescriptionGenerator extends ComposerGenerator 
>  -        implements CacheableProcessingComponent{
>  +        implements CacheableProcessingComponent, Recyclable {
>
...

>  +    /** Traversed source for the keys and validities */
>  +    private Hashtable cachedsources = null;
>

Stephan,

You will end up with one or *more* *pools* of *hashtables*. Are you sure 
you want to cache this way?


Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message