HI,
Thanks, I did check the code to find the place I would need to make a
change but have decided against it due to the "hack" nature of it.
The reason I need it is that my object I store in cache has a member
hashtable of values. Our application can modify that hashtable without
modifying the rest of the object in which case no "remove" or "put" is
done from the cache. I have decided to rather make changes to our app
then to the JCS code.
Thanks for your help though
Betten, Thorben wrote:
Hello,
AFAIK it's not possible via API. Why do you want to do that?
Doesn't the cache policy to issue a remove on putmeet your requirements?
Anyway:
Then one thing coming into my mind would be to patch the class
org.apache.jcs.engine.control.CompositeCacheto add a getter method
for member variable auxCaches.
Then you can access your cache as you already do:
JCS.getInstance(String region)or directly
viaCompositeCacheManager.getCache(String region)
and then get returned composite cache's auxiliray caches to perform a remove on
auxiliary only.
But this is kind of dirty hack and probably not a good solution to accomplish
described scenario.
Hans Liebenberg <[EMAIL PROTECTED]> hat am 25. November 2008 um 14:57
geschrieben:
Hi,
Is there currently a way,via the API, to manually broadcast a "remove"
of a specific key to other nodes in a tcp lateral configuration without
having to remove from the node in question.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
with best regards,
Thorben Betten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]