Folks,
I'm writing some custom components (generator, transformer), and want to
use caching because running them is expensive.
The interface 'CacheableProcessingComponent' defines two methods:
- getKey()
- getValidity()
Question: when the key contains *all* the relevant parameters used by my
components, and there are no other influences (like timestamps), I can
just return a NOPValidity object (always valid). Right?
I want to check this before I'm going to make any outrageous claims
about my code's performance, because of the superb caching :)
Sandor
-----------------------------------------------------------------------
Information and Computing Sciences, Utrecht University, the Netherlands
'Content and knowledge engineering' http://www.informationscience.nl/
Personal coordinates: http://www.cs.uu.nl/people/sandor/
"... unthinkable surprises, about to happen, but what they are -
it's not up to you, oh, it never really was." (Bjork on Vespertine)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]