Ok, so here's the problem:

I have some content I want to cache using TimeSpanCache which is
dependent upon 2 values, let's call them "alphaID" and "betaID" for
simplicity.

Using the cache tag:
<cache aliases="simpleCache" criteria="alphaID,betaID">
  <notify listener="MyListener" method="getSomething"
resultArg="myResult" />
</cache>

Works great so far... but now what I want to do is to clear that same
cache at another point in my code, but I only have access to "alphaID"
and would like to clear any cache that used "alphaID" as a criterion,
thus using: <cache-clear alias="simpleCache" criteria="alphaID" />
would not clear the same cache as described above because "betaID" is
not provided as criteria.

Is there any possible way of accomplishing this, or should I resort to
figuring out a different way of structuring my code?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to