You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephen Ng <st...@verizon.net> on 2002/06/06 21:45:54 UTC

toString in CacheValidity

Can someone point to some document that explains what toString() is used
for in the CacheValidity object?  I've found explanations for (and
pretty sure I understand) generateKey, isValid, etc, but haven't found
any explanation for the (important) toString() function.

Thanks,

Steve


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: toString in CacheValidity

Posted by Stephen Ng <st...@verizon.net>.
Hmmm, which explains why I had to put a string serialized version of my
validity check into toString or else my xsp caching stopped working as soon
as I stuck it into an aggregation....

This does seem redundant; makes sense that it's going away.

Thanks,

Steve

> -----Original Message-----
> From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Sent: Thursday, June 06, 2002 7:41 PM
> To: cocoon-users@xml.apache.org; stephenng@alum.mit.edu
> Subject: RE: toString in CacheValidity
>
>
> > From: Stephen Ng [mailto:stephen.ng@verizon.net]
> >
> > Can someone point to some document that explains what toString() is
> used
> > for in the CacheValidity object?  I've found explanations for (and
> > pretty sure I understand) generateKey, isValid, etc, but
> haven't found
> > any explanation for the (important) toString() function.
>
> Last modification "date" for the Sitemap sources
> (src="cocoon:/....") is
> created as hash of the pipeline validity converted to String.
>
> This won't be needed in the Cocoon 2.1 because source's interface was
> changed to include getValidity() method.
>
> Vadim
>
> >
> > Thanks,
> >
> > Steve
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: toString in CacheValidity

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Stephen Ng [mailto:stephen.ng@verizon.net]
> 
> Can someone point to some document that explains what toString() is
used
> for in the CacheValidity object?  I've found explanations for (and
> pretty sure I understand) generateKey, isValid, etc, but haven't found
> any explanation for the (important) toString() function.

Last modification "date" for the Sitemap sources (src="cocoon:/....") is
created as hash of the pipeline validity converted to String.

This won't be needed in the Cocoon 2.1 because source's interface was
changed to include getValidity() method.

Vadim

> 
> Thanks,
> 
> Steve


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>